/********************************************
*          dumped by: aerosoul94            *
*********************************************/

{
	menuDef
	{
		name "main"
		rect 0 0 640 480 0 0
		visible 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
			setdvar "ui_version_show" 0;
			setLocalVarBool "ui_centerPopup" ( 0 );
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect -875.258 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -893.09 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -427 -240 854 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_sp_image"
			textscale 0.55
			visible when ( dvarstring( "gameMode" ) == "sp" )
		}
		itemDef
		{
			rect -427 -240 854 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_co_image"
			textscale 0.55
			visible when ( dvarstring( "gameMode" ) == "so" )
		}
		itemDef
		{
			rect -427 -240 854 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_mp_image"
			textscale 0.55
			visible when ( dvarstring( "gameMode" ) == "mp" )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25674
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.252388
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 304 270 288 72 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "logo_cod2"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			name "button_xboxlive"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@PLATFORM_PLAY_ONLINE_CAPS"
			action
			{
				play "mouse_click";
				setdvar "ui_opensummary" 0;
				execnow "nosplitscreen";
				exec "xrequirelivesignin";
				setdvar "systemlink" 0;
				setdvar "splitscreen" 0;
				setdvar "onlinegame" 1;
				exec "exec default_xboxlive.cfg";
				exec "party_maxplayers 9";
				exec "xblive_privatematch 0";
				exec "xblive_rankedmatch 0";
				exec "party_timerVisible 0";
				exec "xstartprivateparty";
				setdvar "ui_mptype" 0;
				open "menu_xboxlive";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				exec "xcheckezpatchversion";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "splitscreen"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_SPLITSCREEN_CAPS"
			visible when ( !issplitscreenonlinepossible( ) )
			action
			{
				play "mouse_click";
				setdvar "ui_opensummary" 0;
				exec "splitscreencontrols";
				setdvar "systemlink" 0;
				setdvar "splitscreen" 1;
				setdvar "onlinegame" 0;
				exec "xblive_rankedmatch 0";
				exec "xblive_privatematch 0";
				exec "exec default_splitscreen.cfg";
				setdvar "ui_mptype" 2;
				exec "resetSplitscreenSignIn";
				open "menu_splitscreensignin";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "system_link"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@PLATFORM_SYSTEM_LINK_CAPS"
			action
			{
				play "mouse_click";
				setdvar "ui_opensummary" 0;
				execnow "nosplitscreen";
				setdvar "systemlink" 1;
				setdvar "splitscreen" 0;
				exec "xblive_rankedmatch 0";
				exec "xblive_privatematch 0";
				setdvar "onlinegame" 0;
				exec "exec default_systemlink.cfg";
				setdvar "ui_mptype" 1;
				open "menu_systemlink";
				exec "xrequiresignin";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "button_main_friendslist"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@PLATFORM_FRIENDSLIST_CAPS"
			action
			{
				play "mouse_click";
				exec "xshowfriendslist";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 148 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "button_main_options"
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_OPTIONS_CAPS"
			action
			{
				play "mouse_click";
				execnow "nosplitscreen";
				exec "xrequiresignin";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "button_main_singleplayer"
			rect -64 148 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_MAIN_MENU_CAPS"
			action
			{
				play "mouse_click";
				exec "nosplitscreen";
				uiScript "startSingleplayer";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 48 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 0 224 212 18 1 1
			decoration
			autowrapped
			visible 1
			forecolor 0.55 0.93 0.56 1
			textfont 3
			textalign 6
			textscale 0.375
			text "@PATCH_NEW_MAPS_PSN"
			visible when ( anynewmappacks( ) )
		}
		itemDef
		{
			rect 232 228 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( anynewmappacks( ) )
		}
		itemDef
		{
			rect 0 110 200 200 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "white"
			textscale 0.55
			visible when ( dvarint( "ui_textscroll" ) )
		}
		itemDef
		{
			rect 0 110 200 200 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			type 21
			textalign 4
			textscale 0.38
			textstyle 3
			text "The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. "
			visible when ( dvarint( "ui_textscroll" ) )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "systemlink_popup"
		rect -92 -34 184 68 2 2
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			focusfirst;
		}
		onClose
		{
			play "mouse_click";
			setLocalVarInt "ui_centerPopup" ( 0 );
			;;
		}
		onEsc
		{
			close self;
			exec "splitscreencontrols";
			setdvar "systemlink" 0;
			close self;
		}
		itemDef
		{
			rect -94 -36 188 72 2 2
			style 3
			border 1
			bordersize 2
			decoration
			visible 1
			forecolor 0.2 0.21 0.25 1
			bordercolor 0.4 0.405 0.42 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -92 -34 184 68 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.7
			background "gradient_bottom"
			textscale 0.55
		}
		itemDef
		{
			rect -126 -68 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -94 -68 188 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 94 -68 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 94 -36 32 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 2 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 94 -34 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 2 ) + ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 2 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -94 -34 188 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 2 ) + ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 2 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -126 -34 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 2 ) + ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 2 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -126 -36 32 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 2 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 2 -32 0 24 2 2
			decoration
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 5
			textscale 0.4583
			textstyle 6
			exp text ( "@PLATFORM_SYSTEM_LINK" )
		}
		itemDef
		{
			rect -90 -6 175.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 85.5 -6 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
		}
		itemDef
		{
			rect -90 -6 175.5 18 2 2
			style 3
			bordersize 2
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			bordercolor 0.8 0.95 1 0.4
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect 85.5 -6 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect -92 -5 180 18 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.3
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
		}
		itemDef
		{
			rect -90 -6 180 18 2 2
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -22
			textscale 0.375
			textstyle 6
			exp text ( "@MENU_JOIN_GAME" )
			action
			{
				play "mouse_click";
				close "systemlink_popup";
				open "menu_systemlink_join";
			}
			onFocus
			{
				play "mouse_submenu_over";
				setLocalVarInt "ui_highlight" ( 1 );
				setLocalVarString "ui_choicegroup" ( "popmenu" );
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect -90 14 175.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 85.5 14 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
		}
		itemDef
		{
			rect -90 14 175.5 18 2 2
			style 3
			bordersize 2
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			bordercolor 0.8 0.95 1 0.4
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect 85.5 14 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect -92 15 180 18 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.3
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
		}
		itemDef
		{
			rect -90 14 180 18 2 2
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -22
			textscale 0.375
			textstyle 6
			exp text ( "@MENU_CREATE_GAME" )
			action
			{
				play "mouse_click";
				close "systemlink_popup";
				open "menu_gamesetup_systemlink";
			}
			onFocus
			{
				play "mouse_submenu_over";
				setLocalVarInt "ui_highlight" ( 2 );
				setLocalVarString "ui_choicegroup" ( "popmenu" );
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
	}
	menuDef
	{
		name "menu_xboxlive"
		rect 0 0 640 480 0 0
		style 1
		visible 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		soundLoop "music_mainmenu_mp"
		execKey "APAD_RIGHT"
		{
			setfocus "partyList";
			setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYER_OPTIONS" );
		}
		execKey "DPAD_RIGHT"
		{
			setfocus "partyList";
			setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYER_OPTIONS" );
		}
		execKey "APAD_LEFT"
		{
			if ( getfocuseditemname( ) == "partyList" )
			{
				focusfirst;
			}
		}
		execKey "DPAD_LEFT"
		{
			if ( getfocuseditemname( ) == "partyList" )
			{
				focusfirst;
			}
		}
		execKey "BUTTON_Y"
		{
			open "popup_summary";
			play "mouse_click";
		}
		onOpen
		{
			if ( dvarbool( "ui_opensummary" ) && !inlobby( ) )
			{
				setLocalVarInt "ui_autoopened" ( 1 );
				open "popup_summary";
				setdvar "ui_opensummary" 0;
			}
			if ( dvarbool( "hiDef" ) )
			{
				exec "exec default_720p.cfg";
			}
			else
			{
				exec "exec default_480p.cfg";
			}
			if ( !dvarbool( "splitscreen" ) )
			{
				exec "nosplitscreen";
			}
			if ( ( ( localvarstring( "ui_attachment1Name" ) == "silencer" ) || ( localvarstring( "ui_attachment2Name" ) == "silencer" ) || ( localvarstring( "ui_attachment3Name" ) == "silencer" ) || ( localvarstring( "ui_attachment4Name" ) == "silencer" ) || ( localvarstring( "ui_attachment5Name" ) == "silencer" ) || ( localvarstring( "ui_attachment6Name" ) == "silencer" ) || ( localvarstring( "ui_attachment8Name" ) == "silencer" ) || ( localvarstring( "ui_attachment9Name" ) == "silencer" ) || ( localvarstring( "ui_attachment10Name" ) == "silencer" ) || ( localvarstring( "ui_attachment11Name" ) == "silencer" ) || ( localvarstring( "ui_attachment12Name" ) == "silencer" ) || ( localvarstring( "ui_attachment13Name" ) == "silencer" ) || ( localvarstring( "ui_attachment14Name" ) == "silencer" ) || ( localvarstring( "ui_attachment15Name" ) == "silencer" ) ) )
			{
				focusfirst;
			}
			focusfirst;
		}
		onRequestClose
		{
			close "popup_gettingdata";
			close "popup_findgame";
			close "popup_summary";
			close "popup_unlocks1";
			close "popup_unlocks2";
		}
		onClose
		{
			if ( dvarbool( "splitscreen" ) )
			{
				if ( splitscreenplayercount( ) >= 1 )
				{
					setPlayerDataSplitscreen( 0 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 2 )
				{
					setPlayerDataSplitscreen( 1 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 3 )
				{
					setPlayerDataSplitscreen( 2 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 4 )
				{
					setPlayerDataSplitscreen( 3 , "round" , "awardCount" , 0 );
				}
			}
			else
			{
				setPlayerData( "round" , "awardCount" , 0 );
			}
			uiScript "clearClientMatchData";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.4583
			visible when ( inprivateparty( ) && !aloneinparty( ) )
			execKey "BUTTON_B"
			{
				open "leaveprivatepartywarning";
			}
		}
		itemDef
		{
			rect 0 0 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.4583
			visible when ( !inprivateparty( ) || aloneinparty( ) )
			execKey "BUTTON_B"
			{
				play "mouse_click";
				execnow "xstopprivateparty";
				setdvar "onlinegame" 0;
				execnow "splitscreencontrols";
				close "leaveprivatepartywarning";
				close "popup_gettingdata";
				close "menu_xboxlive";
			}
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect -178.836 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -532.907 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.749844
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.738318
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.375
			text "@XBOXLIVE_SERVICENAME"
		}
		itemDef
		{
			rect -272 0 272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_partyPlayerCount"
		}
		itemDef
		{
			rect 0 0 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( inprivateparty( ) && !privatepartyhost( ) && getfocuseditemname( ) == "live_findgame" )
			execKey "APAD_UP"
			{
				setfocus "last_in_list";
			}
			execKey "DPAD_UP"
			{
				setfocus "last_in_list";
			}
		}
		itemDef
		{
			name "live_findgame"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@PLATFORM_FIND_GAME_CAPS"
			disabled when ( inprivateparty( ) && !privatepartyhost( ) )
			execKey "APAD_UP"
			{
				setfocus "last_in_list";
			}
			execKey "DPAD_UP"
			{
				setfocus "last_in_list";
			}
			action
			{
				play "mouse_click";
				exec "xcheckezpatch";
				exec "xblive_privatematch 0";
				open "popup_findgame";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarInt "ui_selectedIndex" ( 0 );
				if ( inprivateparty( ) && !privatepartyhost( ) )
				{
					setLocalVarString "ui_hint_text" ( "@PLATFORM_DESC_FIND_GAME_LOCKED" );
				}
				else
				{
					exec "xcheckezpatchversion";
					setLocalVarString "ui_hint_text" ( "@PLATFORM_DESC_FIND_GAME" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "live_privategame"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PRIVATE_MATCH_CAPS"
			disabled when ( inprivateparty( ) && !privatepartyhost( ) )
			action
			{
				play "mouse_click";
				exec "xcheckezpatch";
				exec "exec default_xboxlive.cfg";
				exec "xblive_rankedmatch 0";
				exec "ui_enumeratesaved" exec "xblive_privatematch 1";
				exec "xstartprivatematch";
				open "menu_xboxlive_privatelobby";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( inprivateparty( ) && !privatepartyhost( ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PRIVATE_MATCH_LOCKED" );
				}
				else
				{
					exec "xcheckezpatchversion";
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PRIVATE_MATCH" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 68 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "live_cac"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CREATE_A_CLASS_CAPS"
			disabled when ( !isitemunlocked( "cac" ) )
			action
			{
				play "mouse_click";
				open "cac_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "cac" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_A_CLASS" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 68 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "weaponNew" ) || getplayerdataanybooltrue( "camoNew" ) || getplayerdataanybooltrue( "attachmentNew" ) ) || getplayerdataanybooltrue( "perkNew" ) || ( ( getplayerdata( "perkNew" , "frag_grenade_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "semtex_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "c4_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "claymore_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "throwingknife_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_tacticalinsertion" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_blastshield" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) || weaponclassnew( "weapon_grenade" ) || weaponclassnew( "weapon_equipment" ) ) || getplayerdata( "featureNew" , "cac" ) ) )
		}
		itemDef
		{
			name "live_playercard"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PLAYERCARD_CAPS"
			disabled when ( !isitemunlocked( "playercard" ) )
			action
			{
				play "mouse_click";
				open "popup_callsign";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "playercard" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LIVE" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LOCKED" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 88 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "featureNew" , "cas" ) || getplayerdata( "featureNew" , "token_1" ) || getplayerdata( "featureNew" , "token_2" ) || getplayerdata( "featureNew" , "token_3" ) || getplayerdata( "featureNew" , "token_4" ) || getplayerdata( "featureNew" , "token_5" ) || getplayerdata( "featureNew" , "token_6" ) || getplayerdata( "featureNew" , "token_7" ) || getplayerdata( "featureNew" , "token_8" ) || getplayerdata( "featureNew" , "token_9" ) || getplayerdata( "featureNew" , "token_10" ) || getplayerdata( "featureNew" , "token_11" ) || getplayerdata( "featureNew" , "token_12" ) ) || getplayerdata( "featureNew" , "clantag" ) || ( getplayerdataanybooltrue( "iconNew" ) || getplayerdata( "featureNew" , "playercard_icon" ) ) || ( getplayerdataanybooltrue( "titleNew" ) || getplayerdata( "featureNew" , "playercard_title" ) ) )
		}
		itemDef
		{
			name "live_barracks"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BARRACKS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_online_barracks";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_BARRACKS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 108 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "challengeTierNew" ) || getplayerdata( "featureNew" , "challenges" ) ) || getplayerdata( "featureNew" , "challenges" ) || ( ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && getplayerdata( "featureNew" , "prestige" ) ) ) )
		}
		itemDef
		{
			rect 0 128 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "last_in_list"
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_INVITE_CAPS"
			execKey "APAD_DOWN"
			{
				focusfirst;
			}
			execKey "DPAD_DOWN"
			{
				focusfirst;
			}
			action
			{
				play "mouse_click";
				exec "xshowfriendslist";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PARTY_INVITE" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "nattype"
			rect -64 188 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@NETWORK_YOURNATTYPE" ) + " " + getlocalizednattype( ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 28 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect -272 48 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect -272 68 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect -272 88 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect -272 108 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 4 ) != 0 ) )
		}
		itemDef
		{
			rect -272 128 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 5 ) != 0 ) )
		}
		itemDef
		{
			rect -272 148 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 6 ) != 0 ) )
		}
		itemDef
		{
			rect -272 168 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 7 ) != 0 ) )
		}
		itemDef
		{
			rect -272 188 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 8 ) != 0 ) )
		}
		itemDef
		{
			rect -272 208 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 9 ) != 0 ) )
		}
		itemDef
		{
			rect -272 228 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 10 ) != 0 ) )
		}
		itemDef
		{
			rect -272 248 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 11 ) != 0 ) )
		}
		itemDef
		{
			rect -272 268 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 12 ) != 0 ) )
		}
		itemDef
		{
			rect -272 288 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 13 ) != 0 ) )
		}
		itemDef
		{
			rect -272 308 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 14 ) != 0 ) )
		}
		itemDef
		{
			rect -272 328 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 15 ) != 0 ) )
		}
		itemDef
		{
			rect -272 348 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 16 ) != 0 ) )
		}
		itemDef
		{
			rect -272 368 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 17 ) != 0 ) )
		}
		itemDef
		{
			rect -272 0 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "playercard_short_bg"
			textscale 0.55
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
		}
		itemDef
		{
			rect -272 0 272 28 3 1
			decoration
			forecolor 1 1 1 0.15
			textfont 10
			textalign 12
			textalignx 38
			textaligny 3
			textscale 0.3333
			text "NAME"
		}
		itemDef
		{
			name "partyList"
			rect -272 27 272 380 3 1
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 25
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		38		16		40		  0
			noscrollbars
			doubleclick
			{
				play "mouse_click" open "player_popup_party";
			}
		}
		itemDef
		{
			rect -272 0 272 28 3 1
			decoration
			forecolor 1 1 1 0.15
			textfont 10
			textalign 12
			textalignx 194
			textaligny 3
			textscale 0.3333
			text "RANK"
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 40
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 2		194		20		3		  2
							214		20		2		  1
			noscrollbars
		}
		itemDef
		{
			rect 0 0 272 40 3 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "playercard_bg"
			textscale 0.55
			exp rect x ( - 268 )
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 248 )
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 - 4 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 5 ) )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 248 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 10
			textaligny 4
			textscale 0.3333
			textstyle 8
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) + 20 )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , dvarint( "party_selectedIndex" ) ) )
		}
		itemDef
		{
			rect 0 0 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 160 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , dvarint( "party_selectedIndex" ) ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && ( getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) , ( getplayercardinfo( 5 , 3 , dvarint( "party_selectedIndex" ) ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 222 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && ( getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) , 14 ) )
		}
		itemDef
		{
			rect 0 0 40 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) + 18 )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && getplayercardinfo( 9 , 3 , dvarint( "party_selectedIndex" ) ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 3 , dvarint( "party_selectedIndex" ) ) + "]" )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 26
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		0		20		40		  0
			noscrollbars
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.45
			background "shadow_inset"
			textscale 0.55
		}
		itemDef
		{
			rect 0 -18 726 18 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			type 20
			textscale 0.375
			newsfeed 1
			speed 50
			spacing 30
			exp rect w ( 544 + ( dvarint( "widescreen" ) * 182 ) )
		}
		itemDef
		{
			rect 0 220 212 18 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( !localvarbool( "ui_centerPopup" ) && !localvarbool( "ui_leftPopup" ) )
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			name "map_pack_warning"
			rect -272 -150 272 20 3 3
			decoration
			autowrapped
			visible 1
			forecolor 1 0.45098 0.501961 1
			textaligny 16
			textscale 0.375
			visible when ( partyismissingmappack( ) )
			exp text ( partymissingmappackerror( ) )
		}
		itemDef
		{
			rect 0 48 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -68 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_GAME_SUMMARY_CAPS"
		}
		itemDef
		{
			rect -64 -44 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "popup_findgame"
		rect -64 0 854 364 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		exp rect y ( localvarfloat( "ui_popup_findgame_ypos" ) )
		onOpen
		{
			setLocalVarFloat "ui_popup_findgame_ypos" ( localvarfloat( "ui_popupYPos" ) );
			focusfirst;
			close "popup_gettingdata";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 364 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 17 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 17 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 17 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 17 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 17 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 17 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 17 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 364 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 22 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.25
			background "gradient_fadein"
			textfont 9
			textalign 6
			textalignx -4
			textscale 0.375
			text "@MENU_PUBLIC_PLAYLISTS"
		}
		itemDef
		{
			rect 0 24 232 408 1 1
			visible 1
			forecolor 1 1 1 1
			outlinecolor 0 0 0 1
			disablecolor 1 1 1 0.45
			type 6
			textalignx -4
			textscale 0.375
			feeder 28
			selectBorder 0 0 0 1
			elementwidth 20
			elementheight 18
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		22		190		64		  2
			noscrollbars
			doubleclick
			{
				play "mouse_click";
				exec "xstartlobby";
				exec "updategamerprofile";
				close "popup_findgame";
				open "menu_xboxlive_lobby";
			}
			onFocus
			{
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 272 312 272 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 3
			dvar "playlist_population"
		}
		itemDef
		{
			rect 272 330 272 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 3
			dvar "playlist_totalonline"
		}
		itemDef
		{
			rect 272 0 272 24 1 1
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 6
			textscale 0.375
			dvar "playlist_name"
		}
		itemDef
		{
			rect 272 24 272 18 1 1
			ownerdraw 275
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 8
			textaligny 18
			textscale 0.375
		}
	}
	menuDef
	{
		name "player_popup"
		rect -150 -84 300 84 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 300 84 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -214 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -148 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_PLAYER_OPTIONS"
		}
		itemDef
		{
			name "player_ps3_add_friend"
			rect -146 -60 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@XBOXLIVE_ADDFRIEND"
			disabled when ( !dvarbool( "party_playervisible" ) || dvarbool( "party_iamselected" ) || isselectedplayerfriend( ) )
			action
			{
				play "mouse_click";
				addFriendFromId;
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "player_mute"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@XBOXLIVE_PLAYER_MUTE"
			disabled when ( dvarbool( "party_iamselected" ) || !dvarbool( "party_playervisible" ) )
			action
			{
				play "mouse_click";
				togglePlayerMute;
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "player_kick"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@XBOXLIVE_KICK"
			disabled when ( menuisopen( "menu_xboxlive_lobby" ) || !dvarbool( "party_host" ) || !dvarbool( "party_playervisible" ) || dvarbool( "party_iamselected" ) )
			action
			{
				play "mouse_click";
				getKickPlayerQuestion;
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -84 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "kickwarning"
		rect -150 -64 300 64 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "cancel_button";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -544 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -544 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -64 300 64 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -64 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
		}
		itemDef
		{
			rect -214 -128 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -128 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -128 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -64 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -64 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -64 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -64 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -64 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -64 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_KICK_PLAYER"
		}
		itemDef
		{
			name "yes_button"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				kickPlayer;
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cancel_button"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -64 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "playerunmutable"
		rect -150 -84 300 84 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			focusfirst;
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 300 84 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -214 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -148 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_NOTICE"
		}
		itemDef
		{
			rect -146 -60 292 20 2 2
			group "mw2_popup_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@XBOXLIVE_EXTERNALMUTE_TITLE"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "ok_button"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_OK"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -84 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "signinbackground"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		onEsc
		{
			close "menu_xboxlive";
			close "popup_findgame";
			close "signinbackground";
		}
		itemDef
		{
			rect -200 0 1280 720 0 0
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.1412 0.1412 0.1412 1
			textscale 0.55
		}
	}
	menuDef
	{
		name "leaveprivatepartywarning"
		rect -150 -64 300 64 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "cancel_button";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -544 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -544 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -64 300 64 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -64 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
		}
		itemDef
		{
			rect -214 -128 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -128 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -128 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -64 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -64 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -64 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -64 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -64 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -64 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@XBOXLIVE_DESTROYPARTY"
			visible when ( inprivateparty( ) && privatepartyhost( ) )
		}
		itemDef
		{
			rect -150 -64 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@XBOXLIVE_LEAVEPARTY"
			visible when ( inprivateparty( ) && !privatepartyhost( ) )
		}
		itemDef
		{
			name "yes_button"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				play "mouse_click";
				exec "onlinegame 0";
				exec "xstopprivateparty";
				exec "splitscreencontrols";
				close "leaveprivatepartywarning";
				close "popup_gettingdata";
				close "menu_xboxlive";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cancel_button"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -64 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "downloadingezpatch"
		rect -150 -104 300 104 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			play "mouse_click";
			exec "xstopparty";
			close "leaveprivatepartywarning";
			exec "downloadezpatch";
			focusfirst;
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 300 104 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -214 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -168 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_NOTICE"
		}
		itemDef
		{
			rect -146 -80 292 20 2 2
			group "mw2_popup_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MPUI_DOWNLOADPLAYLIST"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "ok_button"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_OK"
			action
			{
				play "mouse_click";
				play "mouse_click";
				exec "xstopparty";
				close "leaveprivatepartywarning";
				exec "downloadezpatch";
				close self;
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -104 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "downloadingplaylist"
		rect -150 -104 300 104 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			focusfirst;
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			play "mouse_click";
			exec "xstopparty";
			close "leaveprivatepartywarning";
			exec "downloadplaylist";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 300 104 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -214 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -168 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_NOTICE"
		}
		itemDef
		{
			rect -146 -80 292 20 2 2
			group "mw2_popup_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MPUI_DOWNLOADPLAYLIST"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "ok_button"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_OK"
			action
			{
				play "mouse_click";
				play "mouse_click";
				exec "xstopparty";
				close "leaveprivatepartywarning";
				exec "downloadplaylist";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -104 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "menu_splitscreensignin"
		rect 0 0 640 480 0 0
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			exec "startsplitscreensignin";
		}
		onEsc
		{
			exec "splitscreen 0";
			exec "splitscreencontrols";
			exec "endsplitscreensignin";
			close "menu_splitscreensignin";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 1 1 2 0
			style 3
			decoration
			visible 1
			forecolor 1 0 0 0.5
			background "white"
			textscale 0.55
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) )
			exp rect y ( 58 )
			exp rect w ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) )
			exp rect h ( 180 )
			visible when ( dvarbool( "ui_splitframes" ) == 1 )
		}
		itemDef
		{
			rect 0 0 1 1 2 0
			style 3
			decoration
			visible 1
			forecolor 0 1 0 0.5
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( 58 )
			exp rect w ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) )
			exp rect h ( 180 )
			visible when ( dvarbool( "ui_splitframes" ) == 1 )
		}
		itemDef
		{
			rect 0 0 1 1 2 0
			style 3
			decoration
			visible 1
			forecolor 0 0 1 0.5
			background "white"
			textscale 0.55
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) )
			exp rect y ( 244 )
			exp rect w ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) )
			exp rect h ( 180 )
			visible when ( dvarbool( "ui_splitframes" ) == 1 )
		}
		itemDef
		{
			rect 0 0 1 1 2 0
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.5
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( 244 )
			exp rect w ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) )
			exp rect h ( 180 )
			visible when ( dvarbool( "ui_splitframes" ) == 1 )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textscale 0.5
			text "@MENU_SPLIT_SCREEN_SIGNIN"
		}
		itemDef
		{
			rect -250 0 500 1 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "line_horizontal"
			textscale 0.55
		}
		itemDef
		{
			rect 0 -176 1 352 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "line_vertical"
			textscale 0.55
		}
		itemDef
		{
			rect -35 -19 10 10 2 2
			decoration
			visible 1
			forecolor 0.5 0.5 0.5 1
			textfont 10
			textalign 1
			textaligny 13
			textscale 0.375
			text "1"
		}
		itemDef
		{
			rect -35 -19 10 10 2 2
			decoration
			visible 1
			forecolor 0.556863 0.929412 0.560784 1
			textfont 10
			textalign 1
			textaligny 13
			textscale 0.375
			text "1"
			dvarTest "leavegame0_vis"
			showDvar { 1 }
		}
		itemDef
		{
			rect 25 -19 10 10 2 2
			decoration
			visible 1
			forecolor 0.5 0.5 0.5 1
			textfont 10
			textalign 1
			textaligny 13
			textscale 0.375
			text "2"
		}
		itemDef
		{
			rect 25 -19 10 10 2 2
			decoration
			visible 1
			forecolor 0.556863 0.929412 0.560784 1
			textfont 10
			textalign 1
			textaligny 13
			textscale 0.375
			text "2"
			dvarTest "leavegame1_vis"
			showDvar { 1 }
		}
		itemDef
		{
			rect -35 9 10 10 2 2
			decoration
			visible 1
			forecolor 0.5 0.5 0.5 1
			textfont 10
			textalign 1
			textaligny 13
			textscale 0.375
			text "3"
		}
		itemDef
		{
			rect -35 9 10 10 2 2
			decoration
			visible 1
			forecolor 0.556863 0.929412 0.560784 1
			textfont 10
			textalign 1
			textaligny 13
			textscale 0.375
			text "3"
			dvarTest "leavegame2_vis"
			showDvar { 1 }
		}
		itemDef
		{
			rect 25 9 10 10 2 2
			decoration
			visible 1
			forecolor 0.5 0.5 0.5 1
			textfont 10
			textalign 1
			textaligny 13
			textscale 0.375
			text "4"
		}
		itemDef
		{
			rect 25 9 10 10 2 2
			decoration
			visible 1
			forecolor 0.556863 0.929412 0.560784 1
			textfont 10
			textalign 1
			textaligny 13
			textscale 0.375
			text "4"
			dvarTest "leavegame3_vis"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 208 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 58 - 13 ) )
			visible when ( ( dvarbool( "joingame0_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 58 - 13 ) - 2 )
			visible when ( ( dvarbool( "joingame0_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 58 - 13 ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 0 ) , 5 ) )
			visible when ( ( dvarbool( "joingame0_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 58 - 13 ) ) + 28 )
			visible when ( ( dvarbool( "joingame0_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 2 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) ) + 158 )
			exp rect y ( ( ( 58 - 13 ) ) )
			visible when ( ( dvarbool( "joingame0_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 2 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_JOINSPLITSCREENGAME_CAPS"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "joingame" + "0" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_BACK_CAPS"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 1 ) ) )
			visible when ( dvarbool( ( "joingame" + "0" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_WAITING_FOR_MORE_PLAYERS1"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "waiting" + "0" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_STARTGAME_CAPS"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "startgame" + "0" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_LEAVESPLITSCREENGAME_CAPS"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 1 ) ) )
			visible when ( dvarbool( ( "leavegame" + "0" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_CHANGEOFFLINEPROFILE_CAPS"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 2 ) ) )
			visible when ( dvarbool( ( "changeusers" + "0" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 208 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 58 - 13 ) )
			visible when ( ( dvarbool( "joingame1_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 58 - 13 ) - 2 )
			visible when ( ( dvarbool( "joingame1_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 58 - 13 ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 1 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 1 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 1 ) , 5 ) )
			visible when ( ( dvarbool( "joingame1_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 1 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 58 - 13 ) ) + 28 )
			visible when ( ( dvarbool( "joingame1_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 1 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 2 , 1 ) )
		}
		itemDef
		{
			rect 0 0 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) ) + 158 )
			exp rect y ( ( ( 58 - 13 ) ) )
			visible when ( ( dvarbool( "joingame1_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 2 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_JOINSPLITSCREENGAME_CAPS"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "joingame" + "1" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_BACK_CAPS"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 1 ) ) )
			visible when ( dvarbool( ( "joingame" + "1" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_WAITING_FOR_MORE_PLAYERS1"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "waiting" + "1" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_STARTGAME_CAPS"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "startgame" + "1" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_LEAVESPLITSCREENGAME_CAPS"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 1 ) ) )
			visible when ( dvarbool( ( "leavegame" + "1" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_CHANGEOFFLINEPROFILE_CAPS"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 58 + ( 94 + ( 22 * 2 ) ) )
			visible when ( dvarbool( ( "changeusers" + "1" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 208 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 244 - 13 ) )
			visible when ( ( dvarbool( "joingame2_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 244 - 13 ) - 2 )
			visible when ( ( dvarbool( "joingame2_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 2 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 244 - 13 ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 2 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 2 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 2 ) , 5 ) )
			visible when ( ( dvarbool( "joingame2_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 2 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 244 - 13 ) ) + 28 )
			visible when ( ( dvarbool( "joingame2_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 2 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 2 , 2 ) )
		}
		itemDef
		{
			rect 0 0 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) ) + 158 )
			exp rect y ( ( ( 244 - 13 ) ) )
			visible when ( ( dvarbool( "joingame2_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 2 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_JOINSPLITSCREENGAME_CAPS"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "joingame" + "2" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_BACK_CAPS"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 1 ) ) )
			visible when ( dvarbool( ( "joingame" + "2" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_WAITING_FOR_MORE_PLAYERS1"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "waiting" + "2" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_STARTGAME_CAPS"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "startgame" + "2" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_LEAVESPLITSCREENGAME_CAPS"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 1 ) ) )
			visible when ( dvarbool( ( "leavegame" + "2" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_CHANGEOFFLINEPROFILE_CAPS"
			exp rect x ( ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 2 ) ) )
			visible when ( dvarbool( ( "changeusers" + "2" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 208 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 244 - 13 ) )
			visible when ( ( dvarbool( "joingame3_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 244 - 13 ) - 2 )
			visible when ( ( dvarbool( "joingame3_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 3 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( 244 - 13 ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 3 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 3 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 3 ) , 5 ) )
			visible when ( ( dvarbool( "joingame3_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 3 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 2 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 244 - 13 ) ) + 28 )
			visible when ( ( dvarbool( "joingame3_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 3 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 2 , 3 ) )
		}
		itemDef
		{
			rect 0 0 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 0 - ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) ) - ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) ) ) - ( ( 208 ) / 2 ) ) + 158 )
			exp rect y ( ( ( 244 - 13 ) ) )
			visible when ( ( dvarbool( "joingame3_vis" ) == 0 ) && ( getplayercardinfo( 0 , 2 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 2 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_JOINSPLITSCREENGAME_CAPS"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "joingame" + "3" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_BACK_CAPS"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 1 ) ) )
			visible when ( dvarbool( ( "joingame" + "3" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_WAITING_FOR_MORE_PLAYERS1"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "waiting" + "3" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_STARTGAME_CAPS"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 0 ) ) )
			visible when ( dvarbool( ( "startgame" + "3" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_LEAVESPLITSCREENGAME_CAPS"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 1 ) ) )
			visible when ( dvarbool( ( "leavegame" + "3" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect 0 0 200 20 2 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@XBOXLIVE_CHANGEOFFLINEPROFILE_CAPS"
			exp rect x ( 0 + ( ( ( 272 + ( 91 * dvarint( "wideScreen" ) ) ) * 0.5 ) - 58 ) )
			exp rect y ( 244 + ( 94 + ( 22 * 2 ) ) )
			visible when ( dvarbool( ( "changeusers" + "3" ) + "_vis" ) == 1 )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_systemlink"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		execKey "BUTTON_Y"
		{
			open "popup_summary";
			play "mouse_click";
		}
		onOpen
		{
			focusfirst;
			if ( dvarbool( "ui_opensummary" ) )
			{
				setLocalVarInt "ui_autoopened" ( 1 );
				open "popup_summary";
				setdvar "ui_opensummary" 0;
			}
			if ( dvarbool( "hidef" ) )
			{
				exec "exec default_720p.cfg";
			}
			else
			{
				exec "exec default_480p.cfg";
			}
			exec "exec dvar_defaults.cfg";
			if ( !menuisopen( "popup_summary" ) )
			{
				exec "SelectOfflineProfile";
			}
		}
		onClose
		{
			close "menu_ps3_profile";
		}
		onEsc
		{
			if ( dvarbool( "splitscreen" ) )
			{
				if ( splitscreenplayercount( ) >= 1 )
				{
					setPlayerDataSplitscreen( 0 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 2 )
				{
					setPlayerDataSplitscreen( 1 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 3 )
				{
					setPlayerDataSplitscreen( 2 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 4 )
				{
					setPlayerDataSplitscreen( 3 , "round" , "awardCount" , 0 );
				}
			}
			else
			{
				setPlayerData( "round" , "awardCount" , 0 );
			}
			uiScript "clearClientMatchData";
			exec "splitscreencontrols";
			setdvar "systemlink" 0;
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@PLATFORM_SYSTEM_LINK_TITLE"
		}
		itemDef
		{
			name "systemlink_joingame"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_JOIN_GAME_CAPS"
			action
			{
				play "mouse_click";
				if ( offlineprofilecansave( ) )
				{
					open "menu_systemlink_join";
				}
				else
				{
					setLocalVarBool "ui_systemlink_join" ( 1 );
					open "savegame_error_mp";
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_JOIN_GAME" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "systemlink_creategame"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CREATE_GAME_CAPS"
			action
			{
				play "mouse_click";
				if ( offlineprofilecansave( ) )
				{
					open "menu_gamesetup_systemlink";
				}
				else
				{
					setLocalVarBool "ui_systemlink_join" ( 0 );
					open "savegame_error_mp";
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_GAME" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 68 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "systemlink_cac"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CREATE_A_CLASS_CAPS"
			disabled when ( !isitemunlocked( "cac" ) )
			action
			{
				play "mouse_click";
				open "cac_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "cac" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_A_CLASS" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 68 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "weaponNew" ) || getplayerdataanybooltrue( "camoNew" ) || getplayerdataanybooltrue( "attachmentNew" ) ) || getplayerdataanybooltrue( "perkNew" ) || ( ( getplayerdata( "perkNew" , "frag_grenade_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "semtex_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "c4_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "claymore_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "throwingknife_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_tacticalinsertion" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_blastshield" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) || weaponclassnew( "weapon_grenade" ) || weaponclassnew( "weapon_equipment" ) ) || getplayerdata( "featureNew" , "cac" ) ) )
		}
		itemDef
		{
			name "live_playercard"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PLAYERCARD_CAPS"
			disabled when ( !isitemunlocked( "playercard" ) )
			action
			{
				play "mouse_click";
				open "popup_callsign";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "playercard" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LOCKED" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 88 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "featureNew" , "cas" ) || getplayerdata( "featureNew" , "token_1" ) || getplayerdata( "featureNew" , "token_2" ) || getplayerdata( "featureNew" , "token_3" ) || getplayerdata( "featureNew" , "token_4" ) || getplayerdata( "featureNew" , "token_5" ) || getplayerdata( "featureNew" , "token_6" ) || getplayerdata( "featureNew" , "token_7" ) || getplayerdata( "featureNew" , "token_8" ) || getplayerdata( "featureNew" , "token_9" ) || getplayerdata( "featureNew" , "token_10" ) || getplayerdata( "featureNew" , "token_11" ) || getplayerdata( "featureNew" , "token_12" ) ) || ( getplayerdataanybooltrue( "iconNew" ) || getplayerdata( "featureNew" , "playercard_icon" ) ) || ( getplayerdataanybooltrue( "titleNew" ) || getplayerdata( "featureNew" , "playercard_title" ) ) )
		}
		itemDef
		{
			name "systemlink_barracks"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BARRACKS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_offline_barracks";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_BARRACKS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 108 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "challengeTierNew" ) || getplayerdata( "featureNew" , "challenges" ) ) || getplayerdata( "featureNew" , "challenges" ) || ( ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && getplayerdata( "featureNew" , "prestige" ) ) ) )
		}
		itemDef
		{
			rect 0 128 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "systemlink_savedevice"
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@PLATFORM_CHANGE_OFFLINE_PROFILE"
			action
			{
				play "mouse_click";
				open "menu_ps3_profile";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_SELECT_OFFLINE_PROFILE" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 158 212 36 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 0.8 0.7
			textfont 3
			textalign 6
			textscale 0.375
			text "@MENU_NO_OFFLINE_PROFILE_WARNING"
			visible when ( !isofflineprofileselected( ) && !menuisopen( "menu_ps3_profile" ) )
		}
		itemDef
		{
			rect 0 220 212 18 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( !localvarbool( "ui_centerPopup" ) && !localvarbool( "ui_leftPopup" ) )
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -44 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_GAME_SUMMARY_CAPS"
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect 0 0 208 70 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 208 70 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_248x48"
			textfont 6
			textalign 4
			textaligny -20
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 208 )
			exp rect y ( 18 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( - 208 )
			exp rect y ( ( 18 ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 208 ) + 160 )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textalignx 8
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && getplayercardinfo( 9 , 1 , 0 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 1 , 0 ) + "]" )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 208 ) + 164 )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , ( getplayercardinfo( 5 , 1 , 0 ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textalignx 20
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) + 164 )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , 14 ) )
		}
		itemDef
		{
			rect -208 90 -208 270 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -208 90 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_RANK_PRE" )
		}
		itemDef
		{
			rect -208 90 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( 1 )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
		}
		itemDef
		{
			rect -18 91 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( 1 )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect -208 110 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_XP_PRE" )
		}
		itemDef
		{
			rect -208 110 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "experience" ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) + 1 , 5 ) )
		}
		itemDef
		{
			rect -18 131 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) + 1 , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp text ( "@MPUI_PRESTIGE" )
		}
		itemDef
		{
			rect -18 131 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , 0 , getplayerdata( "prestige" ) + 2 ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NONE" )
		}
		itemDef
		{
			rect -80 152 80 16 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.35
			background "black"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -80 154 25 12 3 1
			style 3
			decoration
			visible 1
			forecolor 1 0.9 0.5 0.6
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( 0 - 80 * ( int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) - getplayerdata( "experience" ) ) / int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 3 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -208 150 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_XP_REQUIRED_PRE" )
		}
		itemDef
		{
			rect -208 150 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 7 ) - getplayerdata( "experience" ) ) )
		}
		itemDef
		{
			rect -208 170 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_SCORE_PRE" )
		}
		itemDef
		{
			rect -208 170 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "score" ) )
		}
		itemDef
		{
			rect -208 190 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_WINS_PRE" )
		}
		itemDef
		{
			rect -208 190 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "wins" ) )
		}
		itemDef
		{
			rect -208 210 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_LOSSES_PRE" )
		}
		itemDef
		{
			rect -208 210 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "losses" ) )
		}
		itemDef
		{
			rect -208 230 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_TIES_PRE" )
		}
		itemDef
		{
			rect -208 230 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "ties" ) )
		}
		itemDef
		{
			rect -208 250 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_WINSTREAK_PRE" )
		}
		itemDef
		{
			rect -208 250 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "winStreak" ) )
		}
		itemDef
		{
			rect -208 270 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_KILLS_PRE" )
		}
		itemDef
		{
			rect -208 270 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "kills" ) )
		}
		itemDef
		{
			rect -208 290 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_HEADSHOTS_PRE" )
		}
		itemDef
		{
			rect -208 290 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "headshots" ) )
		}
		itemDef
		{
			rect -208 310 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_ASSISTS_PRE" )
		}
		itemDef
		{
			rect -208 310 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "assists" ) )
		}
		itemDef
		{
			rect -208 330 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_STREAK_PRE" )
		}
		itemDef
		{
			rect -208 330 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "killStreak" ) )
		}
		itemDef
		{
			rect -208 350 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_DEATHS_PRE" )
		}
		itemDef
		{
			rect -208 350 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "deaths" ) )
		}
		itemDef
		{
			rect -208 370 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_TIME_PLAYED_PRE" )
		}
		itemDef
		{
			rect -208 370 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( secondsastime( getplayerdata( "timePlayedAllies" ) + getplayerdata( "timePlayedOpfor" ) + getplayerdata( "timePlayedOther" ) ) )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_systemlink_join"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
			uiScript "UpdateFilter";
			setfocus "serverlist";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@PLATFORM_SYSTEM_LINK_TITLE"
		}
		itemDef
		{
			rect 0 42 640 318 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 10 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 10 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 10 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 42 32 318 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 360 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 360 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 360 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 42 32 318 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -64 -44 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_REFRESH_CAPS"
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			name "refresh"
			rect 270 438 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			type 1
			textscale 0.55
			execKey "BUTTON_X"
			{
				play "mouse_click";
				uiScript "RefreshServers";
			}
		}
		itemDef
		{
			rect 64 76 0 0 0 0
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textscale 0.375
			text "@MENU_HOST_NAME"
		}
		itemDef
		{
			rect 268 76 0 0 0 0
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textscale 0.375
			text "@MENU_MAP"
		}
		itemDef
		{
			rect 366 76 0 0 0 0
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textscale 0.375
			text "@MENU_NUMPLAYERS"
		}
		itemDef
		{
			rect 450 76 0 0 0 0
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textscale 0.375
			text "@MENU_TYPE1"
		}
		itemDef
		{
			rect 262 78 1 318 0 0
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.2
			textscale 0.55
		}
		itemDef
		{
			rect 362 78 1 318 0 0
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.2
			textscale 0.55
		}
		itemDef
		{
			rect 442 78 1 318 0 0
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.2
			textscale 0.55
		}
		itemDef
		{
			name "serverlist"
			rect 36 76 574 324 0 0
			style 1
			visible 1
			forecolor 1 1 1 1
			outlinecolor 0 0 0 1
			type 6
			textfont 1
			textalignx 1
			textscale 0.375
			feeder 2
			selectBorder 0.8 0.95 1 0
			elementwidth 120
			elementheight 18
//			numcol			xpos	xwidth	textlen	  alignment
			columns 4		26		203		40		  0
							229		98		25		  0
							327		85		10		  0
							412		35		35		  0
			noscrollbars
			doubleclick
			{
				uiScript "JoinServer";
			}
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "noprofilewarning_systemlink_join"
		rect -142 -84 284 168 2 2
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "no" ;;
		}
		onClose
		{
			play "mouse_click";
			setLocalVarInt "ui_centerPopup" ( 0 );
			;;
		}
		onEsc
		{
			close self;
			close self;
		}
		itemDef
		{
			rect -144 -86 288 172 2 2
			style 3
			border 1
			bordersize 2
			decoration
			visible 1
			forecolor 0.2 0.21 0.25 1
			bordercolor 0.4 0.405 0.42 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -142 -84 284 168 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.7
			background "gradient_bottom"
			textscale 0.55
		}
		itemDef
		{
			rect -176 -118 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 -118 288 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 -118 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 -86 32 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 7 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 -84 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 2 ) + ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 7 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 -84 288 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 2 ) + ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 7 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -176 -84 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 2 ) + ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 7 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -176 -86 32 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 7 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 2 -82 0 24 2 2
			decoration
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 5
			textscale 0.4583
			textstyle 6
			exp text ( "@MENU_WARNING" )
		}
		itemDef
		{
			rect -138 -56 280 0 2 2
			decoration
			autowrapped
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 6
			exp text ( "@PLATFORM_PLAYER_NOT_SIGNED_IN_OFFLINE" )
		}
		itemDef
		{
			rect -140 44 275.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 135.5 44 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
		}
		itemDef
		{
			rect -140 44 275.5 18 2 2
			style 3
			bordersize 2
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			bordercolor 0.8 0.95 1 0.4
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect 135.5 44 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect -142 45 280 18 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.3
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
		}
		itemDef
		{
			name "yes"
			rect -140 44 280 18 2 2
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -22
			textscale 0.375
			textstyle 6
			exp text ( "@MENU_YES" )
			action
			{
				play "mouse_click";
				close self;
				open "menu_systemlink_join" ;;
			}
			onFocus
			{
				play "mouse_submenu_over";
				setLocalVarInt "ui_highlight" ( 6 );
				setLocalVarString "ui_choicegroup" ( "popmenu" );
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect -140 64 275.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 135.5 64 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
		}
		itemDef
		{
			rect -140 64 275.5 18 2 2
			style 3
			bordersize 2
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			bordercolor 0.8 0.95 1 0.4
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect 135.5 64 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect -142 65 280 18 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.3
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
		}
		itemDef
		{
			name "no"
			rect -140 64 280 18 2 2
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -22
			textscale 0.375
			textstyle 6
			exp text ( "@MENU_NO" )
			action
			{
				play "mouse_click";
				close self ;;
			}
			onFocus
			{
				play "mouse_submenu_over";
				setLocalVarInt "ui_highlight" ( 7 );
				setLocalVarString "ui_choicegroup" ( "popmenu" );
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
	}
	menuDef
	{
		name "noprofilewarning_systemlink_create"
		rect -142 -84 284 168 2 2
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "no" ;;
		}
		onClose
		{
			play "mouse_click";
			setLocalVarInt "ui_centerPopup" ( 0 );
			;;
		}
		onEsc
		{
			close self;
			close self;
		}
		itemDef
		{
			rect -144 -86 288 172 2 2
			style 3
			border 1
			bordersize 2
			decoration
			visible 1
			forecolor 0.2 0.21 0.25 1
			bordercolor 0.4 0.405 0.42 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -142 -84 284 168 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.7
			background "gradient_bottom"
			textscale 0.55
		}
		itemDef
		{
			rect -176 -118 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 -118 288 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 -118 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 -86 32 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 7 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 -84 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 2 ) + ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 7 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 -84 288 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 2 ) + ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 7 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -176 -84 32 32 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 2 ) + ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 7 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -176 -86 32 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( ( ( 24 + 0 + ( ( 18 + 2 ) * ( 7 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 2 -82 0 24 2 2
			decoration
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 5
			textscale 0.4583
			textstyle 6
			exp text ( "@MENU_WARNING" )
		}
		itemDef
		{
			rect -138 -56 280 0 2 2
			decoration
			autowrapped
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 6
			exp text ( "@PLATFORM_PLAYER_NOT_SIGNED_IN_OFFLINE" )
		}
		itemDef
		{
			rect -140 44 275.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 135.5 44 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
		}
		itemDef
		{
			rect -140 44 275.5 18 2 2
			style 3
			bordersize 2
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			bordercolor 0.8 0.95 1 0.4
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect 135.5 44 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect -142 45 280 18 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.3
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
		}
		itemDef
		{
			name "yes"
			rect -140 44 280 18 2 2
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -22
			textscale 0.375
			textstyle 6
			exp text ( "@MENU_YES" )
			action
			{
				play "mouse_click";
				close self;
				open "menu_gamesetup_systemlink" ;;
			}
			onFocus
			{
				play "mouse_submenu_over";
				setLocalVarInt "ui_highlight" ( 6 );
				setLocalVarString "ui_choicegroup" ( "popmenu" );
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect -140 64 275.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 135.5 64 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
		}
		itemDef
		{
			rect -140 64 275.5 18 2 2
			style 3
			bordersize 2
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			bordercolor 0.8 0.95 1 0.4
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect 135.5 64 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect -142 65 280 18 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.3
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
		}
		itemDef
		{
			name "no"
			rect -140 64 280 18 2 2
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -22
			textscale 0.375
			textstyle 6
			exp text ( "@MENU_NO" )
			action
			{
				play "mouse_click";
				close self ;;
			}
			onFocus
			{
				play "mouse_submenu_over";
				setLocalVarInt "ui_highlight" ( 7 );
				setLocalVarString "ui_choicegroup" ( "popmenu" );
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
	}
	menuDef
	{
		name "single_player_menu"
		rect 204 160 235 135 0 0
		style 1
		border 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onEsc
		{
			close "single_player_menu";
			open "main";
		}
		itemDef
		{
			name "window"
			rect 204 162 235 135 0 0
			group "grpControlbutton"
			style 1
			border 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.25
			bordercolor 0.5 0.5 0.5 0.5
			textscale 0.55
		}
		itemDef
		{
			name "window2"
			rect 206 164 231 20 0 0
			group "grpControlbutton"
			style 1
			border 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.3 0.5 0.2 0.25
			textscale 0.55
		}
		itemDef
		{
			name "confirm"
			rect 320 180 110 20 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 1
			textalignx -55
			textscale 0.375
			text "@MENU_GO_TO_SINGLE_PLAYER_CALL_OF_DUTY"
		}
		itemDef
		{
			name "yes"
			rect 249 220 50 20 0 0
			style 1
			visible 1
			forecolor 0.4823 0.4823 0.4823 1
			type 1
			textfont 1
			textalign 1
			textaligny 15
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				close "main";
				close "single_player_menu";
				uiScript "startSingleplayer";
			}
		}
		itemDef
		{
			name "no"
			rect 346 220 50 20 0 0
			style 1
			border 1
			visible 1
			forecolor 1 1 1 1
			backcolor 0.3 0.5 0.2 0.25
			type 1
			textfont 1
			textalign 1
			textaligny 15
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close "single_player_menu";
				open "main";
			}
		}
	}
	menuDef
	{
		name "menu_cac_assault"
		rect 0 0 640 480 0 0
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		blurWorld 5
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst setPlayerData( "featureNew" , "cac" , "false" );
			setLocalVarInt "ui_centerPopup" ( "false" );
			if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
			{
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
			}
			setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
			setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
			setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
			if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
			{
				setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
			}
			setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
			setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
			setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
			setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
			setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
			if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
			{
				setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
			}
			setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
			setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
			setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
			setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
			setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
			setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
			setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
			setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
			setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
			setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
			setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			setLocalVarBool "ui_inCac" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_inCac" ( 0 );
		}
		onEsc
		{
			execnow "uploadstats";
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.2
			background "big_menu_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MPUI_CREATE_A_CLASS_CAP"
		}
		itemDef
		{
			rect -272 0 0 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_statusString"
			visible when ( !dvarint( "xblive_privatematch" ) && inlobby( ) )
		}
		itemDef
		{
			rect -272 0 272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_partyPlayerCount"
			visible when ( !inlobby( ) )
		}
		itemDef
		{
			name "cac_primary"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PRIMARY_CAPS"
			action
			{
				play "mouse_click";
				setLocalVarInt "ui_tabDepth" ( 0 );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_PRIMARY_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_PRIMARY_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_PRIMARY_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_PRIMARY_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_PRIMARY_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_PRIMARY_CAPS" );
				}
				open "popup_cac_weapon_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 28 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_assault" ) || weaponclassnew( "weapon_lmg" ) || weaponclassnew( "weapon_smg" ) || weaponclassnew( "weapon_sniper" ) )
		}
		itemDef
		{
			name "cac_secondary"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_SECONDARY_CAPS"
			disabled when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
			action
			{
				play "mouse_click";
				setLocalVarInt "ui_tabDepth" ( 0 );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_SECONDARY_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_SECONDARY_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_SECONDARY_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_SECONDARY_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_SECONDARY_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_SECONDARY_CAPS" );
				}
				open "popup_cac_weapon_secondary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 48 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_pistol" ) || weaponclassnew( "weapon_machine_pistol" ) || weaponclassnew( "weapon_shotgun" ) || weaponclassnew( "weapon_machine_pistol" ) || weaponclassnew( "weapon_projectile" ) )
		}
		itemDef
		{
			rect 0 68 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "cac_equipment"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_EQUIPMENT_CAPS"
			action
			{
				play "mouse_click";
				setLocalVarInt "ui_tabDepth" ( 0 );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_EQUIPMENT_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_EQUIPMENT_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_EQUIPMENT_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_EQUIPMENT_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_EQUIPMENT_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_EQUIPMENT_CAPS" );
				}
				open "popup_cac_equipment";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 68 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdata( "perkNew" , "frag_grenade_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "semtex_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "c4_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "claymore_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "throwingknife_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_tacticalinsertion" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_blastshield" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) || weaponclassnew( "weapon_grenade" ) || weaponclassnew( "weapon_equipment" ) ) )
		}
		itemDef
		{
			name "cac_grenade"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_SPECIAL_GRENADE_CAPS"
			action
			{
				play "mouse_click";
				setLocalVarInt "ui_tabDepth" ( 0 );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_SPECIAL_GRENADE_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_SPECIAL_GRENADE_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_SPECIAL_GRENADE_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_SPECIAL_GRENADE_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_SPECIAL_GRENADE_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_SPECIAL_GRENADE_CAPS" );
				}
				open "popup_cac_extra";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 108 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "cac_perk1"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PERK1_CAPS"
			action
			{
				play "mouse_click";
				setLocalVarInt "ui_tabDepth" ( 0 );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_PERK1_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_PERK1_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_PERK1_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_PERK1_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_PERK1_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_PERK1_CAPS" );
				}
				open "popup_cac_perk1";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 108 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdata( "perkNew" , "specialty_marathon" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_fastreload" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_scavenger" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_onemanarmy" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_bling" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) ) ) )
		}
		itemDef
		{
			name "cac_perk2"
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PERK2_CAPS"
			action
			{
				play "mouse_click";
				setLocalVarInt "ui_tabDepth" ( 0 );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_PERK2_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_PERK2_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_PERK2_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_PERK2_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_PERK2_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_PERK2_CAPS" );
				}
				open "popup_cac_perk2";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 128 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdata( "perkNew" , "specialty_bulletdamage" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_lightweight" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_hardline" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_coldblooded" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_explosivedamage" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) ) ) )
		}
		itemDef
		{
			name "cac_perk3"
			rect -64 148 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PERK3_CAPS"
			action
			{
				play "mouse_click";
				setLocalVarInt "ui_tabDepth" ( 0 );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_PERK3_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_PERK3_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_PERK3_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_PERK3_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_PERK3_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_PERK3_CAPS" );
				}
				open "popup_cac_perk3";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 148 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdata( "perkNew" , "specialty_extendedmelee" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_bulletaccuracy" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_localjammer" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_heartbreaker" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_detectexplosive" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_pistoldeath" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) ) ) )
		}
		itemDef
		{
			name "cac_deathstreak"
			rect -64 168 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_DEATHSTREAK_CAPS"
			action
			{
				play "mouse_click";
				setLocalVarInt "ui_tabDepth" ( 0 );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_DEATHSTREAK_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_DEATHSTREAK_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_DEATHSTREAK_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_DEATHSTREAK_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_DEATHSTREAK_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_DEATHSTREAK_CAPS" );
				}
				open "popup_cac_deathstreak";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 168 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdata( "perkNew" , "specialty_grenadepulldeath" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_finalstand" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_c4death" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_c4death" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_combathigh" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) ) ) )
		}
		itemDef
		{
			rect 0 188 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "cac_rename"
			rect -64 188 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_RENAME_CAPS"
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "name" , "keyboard" ( "MENU_CUSTOMCLASS_KEYBOARD" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cac_reset"
			rect -64 208 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_RESET_CLASS_CAPS"
			action
			{
				play "mouse_click";
				open "popup_cac_template";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 0 272 408 3 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -272 28 -272 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.25
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) )
		}
		itemDef
		{
			rect -272 268 -272 4 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -272 48 -272 100 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -272 48 272 100 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			textscale 0.55
			visible when ( localvarstring( "loadoutPrimaryCamo" ) != "none" )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutPrimaryCamo" ) , 4 ) )
		}
		itemDef
		{
			rect -272 48 272 18 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			textscale 0.55
			visible when ( localvarstring( "loadoutPrimaryCamo" ) != "none" )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutPrimaryCamo" ) , 4 ) )
		}
		itemDef
		{
			rect -272 48 -272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 3 ) )
		}
		itemDef
		{
			rect -200 48 200 101.333 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 6 ) )
		}
		itemDef
		{
			rect -268 66 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment2" ) , 6 ) )
		}
		itemDef
		{
			rect -268 106 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment" ) , 6 ) )
		}
		itemDef
		{
			rect -224 106 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment2" ) , 6 ) )
		}
		itemDef
		{
			rect -272 48 272 100 3 1
			decoration
			visible 1
			forecolor 1 1 1 0
			glowColor 0.5 0 0 1
			textfont 3
			textalign 12
			textalignx 4
			textscale 0.375
			exp glowcolor a ( ( ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && localvarstring( "loadoutPrimaryAttachment" ) == "none" ) ) )
			visible when ( localvarstring( "loadoutPrimaryAttachment" ) != "none" || ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) != "" ) ) )
			exp text ( locstring( "@MENU_PLUS" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment" ) , 3 ) ) )
		}
		itemDef
		{
			rect -272 48 272 100 3 1
			decoration
			visible 1
			forecolor 1 1 1 0
			glowColor 0.5 0 0 1
			textfont 3
			textalign 12
			textalignx 4
			textaligny -40
			textscale 0.375
			exp glowcolor a ( ( ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && localvarstring( "loadoutPrimaryAttachment2" ) == "none" ) ) )
			visible when ( ( isitemunlocked( "specialty_secondarybling" ) || 0 == 0 ) && localvarstring( "loadoutPrimaryAttachment2" ) != "none" || ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , ( 11 + 1 ) ) != "" ) ) )
			exp text ( locstring( "@MENU_PLUS" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment2" ) , 3 ) ) )
		}
		itemDef
		{
			rect -272 148 -272 100 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -272 148 272 100 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			textscale 0.55
			visible when ( localvarstring( "loadoutSecondaryCamo" ) != "none" )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutSecondaryCamo" ) , 4 ) )
		}
		itemDef
		{
			rect -272 148 272 18 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			textscale 0.55
			visible when ( localvarstring( "loadoutSecondaryCamo" ) != "none" )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutSecondaryCamo" ) , 4 ) )
		}
		itemDef
		{
			rect -272 148 -272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 3 ) )
		}
		itemDef
		{
			rect -200 148 200 101.333 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 6 ) )
		}
		itemDef
		{
			rect -268 166 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment2" ) , 6 ) )
		}
		itemDef
		{
			rect -268 206 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment" ) , 6 ) )
		}
		itemDef
		{
			rect -224 206 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment2" ) , 6 ) )
		}
		itemDef
		{
			rect -272 148 272 100 3 1
			decoration
			visible 1
			forecolor 1 1 1 0
			glowColor 0.5 0 0 1
			textfont 3
			textalign 12
			textalignx 4
			textscale 0.375
			exp glowcolor a ( ( ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && localvarstring( "loadoutSecondaryAttachment" ) == "none" ) ) )
			visible when ( localvarstring( "loadoutSecondaryAttachment" ) != "none" || ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) != "" ) ) )
			exp text ( locstring( "@MENU_PLUS" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment" ) , 3 ) ) )
		}
		itemDef
		{
			rect -272 148 272 100 3 1
			decoration
			visible 1
			forecolor 1 1 1 0
			glowColor 0.5 0 0 1
			textfont 3
			textalign 12
			textalignx 4
			textaligny -40
			textscale 0.375
			exp glowcolor a ( ( ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && localvarstring( "loadoutSecondaryAttachment2" ) == "none" ) ) )
			visible when ( ( isitemunlocked( "specialty_secondarybling" ) || 1 == 0 ) && localvarstring( "loadoutSecondaryAttachment2" ) != "none" || ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , ( 11 + 1 ) ) != "" ) ) )
			exp text ( locstring( "@MENU_PLUS" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment2" ) , 3 ) ) )
		}
		itemDef
		{
			rect -272 268 -272 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -268 268 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 3 ) )
		}
		itemDef
		{
			rect -268 268 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) && localvarstring( "loadoutPerk1" ) != "" )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -232 268 272 36 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) * ( 9 - 2 ) ) ) ) )
		}
		itemDef
		{
			rect -228 284 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 4 ) )
		}
		itemDef
		{
			rect -228 284 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) , 9 ) )
		}
		itemDef
		{
			rect -272 304 -272 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -268 304 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 3 ) )
		}
		itemDef
		{
			rect -268 304 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) && localvarstring( "loadoutPerk2" ) != "" )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -232 304 272 36 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) * ( 9 - 2 ) ) ) ) )
		}
		itemDef
		{
			rect -228 320 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 4 ) )
		}
		itemDef
		{
			rect -228 320 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) , 9 ) )
		}
		itemDef
		{
			rect -272 340 -272 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -268 340 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 3 ) )
		}
		itemDef
		{
			rect -268 340 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) && localvarstring( "loadoutPerk3" ) != "" )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -232 340 272 36 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) * ( 9 - 2 ) ) ) ) )
		}
		itemDef
		{
			rect -228 356 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 4 ) )
		}
		itemDef
		{
			rect -228 356 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) , 9 ) )
		}
		itemDef
		{
			rect -272 376 -272 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -268 376 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 3 ) )
		}
		itemDef
		{
			rect -232 376 272 36 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 2 ) )
		}
		itemDef
		{
			rect -272 376 -272 1 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -272 248 -272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -272 248 -272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -268 248 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutEquipment" ) , 3 ) )
		}
		itemDef
		{
			rect -248 248 272 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutEquipment" ) , 2 ) )
		}
		itemDef
		{
			rect -136 248 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 6 ) )
		}
		itemDef
		{
			rect -116 248 272 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( locstring( "@MPUI_N_XN" , "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 3 ) , int( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 5 ) ) ) )
		}
		itemDef
		{
			rect -272 268 -272 1 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "popup_cac_template"
		rect -64 0 280 0 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarfloat( "ui_popup_cac_template_ypos" ) )
		onOpen
		{
			setLocalVarFloat "ui_popup_cac_template_ypos" ( localvarfloat( "ui_popupYPos" ) );
			setLocalVarInt "ui_leftPopup" ( 1 );
			focusfirst;
		}
		onClose
		{
			setLocalVarInt "ui_leftPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
			exp rect h ( 24 + ( 5 ) * 20 )
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + ( 5 ) * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + ( 5 ) * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 280 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + ( 5 ) * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( 5 ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( 5 ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( 5 ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + ( 5 ) * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 -256 0 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.35 0.35 0.35 1
			background "gradient_slow_fadein"
			textscale 0.55
			exp rect h ( 24 + ( 5 ) * 20 )
		}
		itemDef
		{
			rect -64 0 280 22 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.25
			background "gradient_fadein"
			textfont 9
			textalign 6
			textalignx -4
			textscale 0.375
			text "@MENU_RESET_CLASS_CAPS"
		}
		itemDef
		{
			name "settings_reset_class_0"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@CLASS_DEFAULT_ASSAULT"
			action
			{
				play "mouse_click";
				play "mouse_click";
				open "popup_cac_defaultclasswarning_assault";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "settings_reset_class_1"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@CLASS_DEFAULT_SPECOPS"
			action
			{
				play "mouse_click";
				play "mouse_click";
				open "popup_cac_defaultclasswarning_spec_ops";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "settings_reset_class_2"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@CLASS_DEFAULT_HEAVYGUNNER"
			action
			{
				play "mouse_click";
				play "mouse_click";
				open "popup_cac_defaultclasswarning_heavy_gunner";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "settings_reset_class_3"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@CLASS_DEFAULT_DEMOLITIONS"
			action
			{
				play "mouse_click";
				play "mouse_click";
				open "popup_cac_defaultclasswarning_demolitions";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "settings_reset_class_4"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@CLASS_DEFAULT_SNIPER"
			action
			{
				play "mouse_click";
				play "mouse_click";
				open "popup_cac_defaultclasswarning_sniper";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx 24
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) - localvarfloat( "ui_popup_cac_template_ypos" ) )
			visible when ( localvarbool( "ui_popupAButton" ) && !localvarint( "ui_centerPopup" ) )
		}
	}
	menuDef
	{
		name "popup_cac_defaultclasswarning_assault"
		rect -150 -124 300 124 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "resetwarning_no";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 300 124 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -214 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -188 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_RESET_CLASS_CAPS"
		}
		itemDef
		{
			rect -146 -100 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MENU_CUSTOM_CLASS_RESET_WARNING"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "resetwarning_yes"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 5 + 1 ) );
				setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 5 + 1 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 5 + 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 5 + 1 ) );
				setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 5 + 1 ) );
				setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 5 + 1 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 5 + 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 5 + 1 ) );
				setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 5 + 1 ) );
				setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 5 + 1 ) );
				setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 5 + 1 ) );
				setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 5 + 1 ) );
				setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 5 + 1 ) );
				setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 5 + 1 ) );
				setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 5 + 1 ) );
				setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 5 + 1 ) );
				setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 5 + 1 ) );
				setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 5 + 1 ) ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "loadoutPrimary" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "loadoutPrimary" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "loadoutPrimaryAttachment" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "loadoutPrimaryAttachment2" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "loadoutPrimaryCamo" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "loadoutSecondaryCamo" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "lo0n}~)p0l5
				setLocalVarString "ui_tempVar" ( locstring( "@CLASS_SLOT" + ( localvarint( "classIndex" ) + 1 ) ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "name" , "localVarString" ( "ui_tempVar" ) );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				execnow "updategamerprofile";
				close "popup_cac_defaultclasswarning_assault";
				close "popup_cac_template";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "resetwarning_no"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -124 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "popup_cac_defaultclasswarning_spec_ops"
		rect -150 -124 300 124 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "resetwarning_no";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 300 124 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -214 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -188 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_RESET_CLASS_CAPS"
		}
		itemDef
		{
			rect -146 -100 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MENU_CUSTOM_CLASS_RESET_WARNING"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "resetwarning_yes"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 6 + 1 ) );
				setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 6 + 1 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 6 + 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 6 + 1 ) );
				setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 6 + 1 ) );
				setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 6 + 1 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 6 + 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 6 + 1 ) );
				setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 6 + 1 ) );
				setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 6 + 1 ) );
				setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 6 + 1 ) );
				setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 6 + 1 ) );
				setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 6 + 1 ) );
				setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 6 + 1 ) );
				setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 6 + 1 ) );
				setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 6 + 1 ) );
				setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 6 + 1 ) );
				setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 6 + 1 ) ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "loadoutPrimary" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "loadoutPrimary" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "loadoutPrimaryAttachment" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "loadoutPrimaryAttachment2" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "loadoutPrimaryCamo" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "loadoutSecondaryCamo" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "lo0n}~)p0l5
				setLocalVarString "ui_tempVar" ( locstring( "@CLASS_SLOT" + ( localvarint( "classIndex" ) + 1 ) ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "name" , "localVarString" ( "ui_tempVar" ) );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				execnow "updategamerprofile";
				close "popup_cac_defaultclasswarning_spec_ops";
				close "popup_cac_template";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "resetwarning_no"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -124 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "popup_cac_defaultclasswarning_heavy_gunner"
		rect -150 -124 300 124 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "resetwarning_no";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 300 124 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -214 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -188 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_RESET_CLASS_CAPS"
		}
		itemDef
		{
			rect -146 -100 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MENU_CUSTOM_CLASS_RESET_WARNING"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "resetwarning_yes"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 7 + 1 ) );
				setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 7 + 1 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 7 + 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 7 + 1 ) );
				setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 7 + 1 ) );
				setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 7 + 1 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 7 + 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 7 + 1 ) );
				setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 7 + 1 ) );
				setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 7 + 1 ) );
				setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 7 + 1 ) );
				setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 7 + 1 ) );
				setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 7 + 1 ) );
				setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 7 + 1 ) );
				setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 7 + 1 ) );
				setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 7 + 1 ) );
				setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 7 + 1 ) );
				setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 7 + 1 ) ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "loadoutPrimary" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "loadoutPrimary" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "loadoutPrimaryAttachment" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "loadoutPrimaryAttachment2" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "loadoutPrimaryCamo" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "loadoutSecondaryCamo" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "lo0n}~)p0l5
				setLocalVarString "ui_tempVar" ( locstring( "@CLASS_SLOT" + ( localvarint( "classIndex" ) + 1 ) ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "name" , "localVarString" ( "ui_tempVar" ) );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				execnow "updategamerprofile";
				close "popup_cac_defaultclasswarning_heavy_gunner";
				close "popup_cac_template";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "resetwarning_no"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -124 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "popup_cac_defaultclasswarning_demolitions"
		rect -150 -124 300 124 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "resetwarning_no";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 300 124 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -214 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -188 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_RESET_CLASS_CAPS"
		}
		itemDef
		{
			rect -146 -100 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MENU_CUSTOM_CLASS_RESET_WARNING"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "resetwarning_yes"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 8 + 1 ) );
				setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 8 + 1 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 8 + 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 8 + 1 ) );
				setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 8 + 1 ) );
				setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 8 + 1 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 8 + 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 8 + 1 ) );
				setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 8 + 1 ) );
				setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 8 + 1 ) );
				setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 8 + 1 ) );
				setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 8 + 1 ) );
				setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 8 + 1 ) );
				setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 8 + 1 ) );
				setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 8 + 1 ) );
				setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 8 + 1 ) );
				setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 8 + 1 ) );
				setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 8 + 1 ) ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "loadoutPrimary" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "loadoutPrimary" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "loadoutPrimaryAttachment" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "loadoutPrimaryAttachment2" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "loadoutPrimaryCamo" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "loadoutSecondaryCamo" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "lo0n}~)p0l5
				setLocalVarString "ui_tempVar" ( locstring( "@CLASS_SLOT" + ( localvarint( "classIndex" ) + 1 ) ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "name" , "localVarString" ( "ui_tempVar" ) );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				execnow "updategamerprofile";
				close "popup_cac_defaultclasswarning_demolitions";
				close "popup_cac_template";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "resetwarning_no"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -124 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "popup_cac_defaultclasswarning_sniper"
		rect -150 -124 300 124 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "resetwarning_no";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 300 124 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -214 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -188 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_RESET_CLASS_CAPS"
		}
		itemDef
		{
			rect -146 -100 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MENU_CUSTOM_CLASS_RESET_WARNING"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "resetwarning_yes"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 9 + 1 ) );
				setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 9 + 1 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 9 + 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 9 + 1 ) );
				setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 9 + 1 ) );
				setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 9 + 1 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 9 + 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 9 + 1 ) );
				setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 9 + 1 ) );
				setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 9 + 1 ) );
				setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 9 + 1 ) );
				setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 9 + 1 ) );
				setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 9 + 1 ) );
				setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 9 + 1 ) );
				setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 9 + 1 ) );
				setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 9 + 1 ) );
				setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 9 + 1 ) );
				setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 9 + 1 ) ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "loadoutPrimary" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "loadoutPrimary" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "loadoutPrimaryAttachment" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "loadoutPrimaryAttachment2" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "loadoutPrimaryCamo" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "loadoutSecondaryCamo" ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "lo0n}~)p0l5
				setLocalVarString "ui_tempVar" ( locstring( "@CLASS_SLOT" + ( localvarint( "classIndex" ) + 1 ) ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "name" , "localVarString" ( "ui_tempVar" ) );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				execnow "updategamerprofile";
				close "popup_cac_defaultclasswarning_sniper";
				close "popup_cac_template";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "resetwarning_no"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -124 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "popup_cac_weapon_primary"
		rect -64 0 854 124 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_weapon_primary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_weapon_primary_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 2 ) == "weapon_assault" )
			{
				setfocus "cac_primary_assault";
			}
			if ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 2 ) == "weapon_smg" )
			{
				setfocus "cac_primary_smg";
			}
			if ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 2 ) == "weapon_lmg" )
			{
				setfocus "cac_primary_lmg";
			}
			if ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 2 ) == "weapon_sniper" )
			{
				setfocus "cac_primary_sniper";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "riotshield" )
			{
				setfocus "cac_primary_riotshield";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 124 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 124 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_primary_assault"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_ASSAULT_RIFLES_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				open "popup_cac_assault_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_assault" ) )
		}
		itemDef
		{
			name "cac_primary_smg"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_SMGS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_SMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_SMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_SMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_SMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_SMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_SMGS_CAPS" );
				}
				open "popup_cac_smg_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_SMGS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_smg" ) )
		}
		itemDef
		{
			name "cac_primary_lmg"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_LMGS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_LMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_LMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_LMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_LMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_LMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_LMGS_CAPS" );
				}
				open "popup_cac_lmg_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_LMGS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_lmg" ) )
		}
		itemDef
		{
			name "cac_primary_sniper"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_SNIPER_RIFLES_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				open "popup_cac_sniper_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_sniper" ) )
		}
		itemDef
		{
			name "cac_primary_riotshield"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_RIOT_SHIELD_CAPS"
			action
			{
				play "mouse_click";
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "riotshield" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "riotshield" );
				setPlayerData( "weaponNew" , "riotshield" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "riotshield" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "riotshield" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
				close self;
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "riotshield" , 3 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/statstable.csv" , 4 , "riotshield" , 7 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/statsTable.csv" , 4 , "riotshield" , 6 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_shield" ) )
		}
		itemDef
		{
			rect -56 0 200 124 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 124 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( localvarstring( "ui_info_name" ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( localvarstring( "ui_info_icon" ) != "" )
			exp material ( localvarstring( "ui_info_icon" ) )
		}
		itemDef
		{
			rect -56 0 200 124 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( "weaponRefString" + " " + "refString" ) )
			exp text ( localvarstring( "ui_info_desc" ) )
		}
	}
	menuDef
	{
		name "popup_cac_weapon_secondary"
		rect -64 0 854 104 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_weapon_secondary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_weapon_secondary_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 2 ) == "weapon_machine_pistol" )
			{
				setfocus "cac_secondary_machinepistols";
			}
			if ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 2 ) == "weapon_shotgun" )
			{
				setfocus "cac_secondary_shotgun";
			}
			if ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 2 ) == "weapon_pistol" )
			{
				setfocus "cac_secondary_handgun";
			}
			if ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 2 ) == "weapon_projectile" )
			{
				setfocus "cac_secondary_rocket";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 104 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 104 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_secondary_machinepistols"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_MACHINE_PISTOLS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				open "popup_cac_machinepistols_secondary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_machine_pistol" ) )
		}
		itemDef
		{
			name "cac_secondary_shotgun"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_SHOTGUNS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				open "popup_cac_shotgun_secondary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_SHOTGUNS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_shotgun" ) )
		}
		itemDef
		{
			name "cac_secondary_handgun"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_HANDGUNS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				open "popup_cac_handgun_secondary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_HANDGUNS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_pistol" ) )
		}
		itemDef
		{
			name "cac_secondary_rocket"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_ROCKETS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_ROCKETS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_ROCKETS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_ROCKETS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_ROCKETS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_ROCKETS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_ROCKETS_CAPS" );
				}
				open "popup_cac_rocket_secondary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_ROCKETS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( weaponclassnew( "weapon_projectile" ) )
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( localvarstring( "ui_info_name" ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( localvarstring( "ui_info_icon" ) != "" )
			exp material ( localvarstring( "ui_info_icon" ) )
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( "weaponRefString" + " " + "refString" ) )
			exp text ( localvarstring( "ui_info_desc" ) )
		}
	}
	menuDef
	{
		name "popup_cac_assault_primary"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_assault_primary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_assault_primary_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "m4" )
			{
				setfocus "cac_weapon_m4";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "famas" )
			{
				setfocus "cac_weapon_famas";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "scar" )
			{
				setfocus "cac_weapon_scar";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "tavor" )
			{
				setfocus "cac_weapon_tavor";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "fal" )
			{
				setfocus "cac_weapon_fal";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "m16" )
			{
				setfocus "cac_weapon_m16";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "masada" )
			{
				setfocus "cac_weapon_masada";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "fn2000" )
			{
				setfocus "cac_weapon_fn2000";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "ak47" )
			{
				setfocus "cac_weapon_ak47";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_weapon_m4"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m4" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "m4" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m4" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "m4" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "m4" );
				setPlayerData( "weaponNew" , "m4" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m4" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m4" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m4" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "m4" , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "m4" ) || getplayerdataanybooltrue( "camoNew" , "m4" ) || getplayerdataanybooltrue( "attachmentNew" , "m4" ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "m4" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_famas"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "famas" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "famas" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "famas" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "famas" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "famas" );
				setPlayerData( "weaponNew" , "famas" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "famas" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "famas" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "famas" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "famas" , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "famas" ) || getplayerdataanybooltrue( "camoNew" , "famas" ) || getplayerdataanybooltrue( "attachmentNew" , "famas" ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "famas" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_scar"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "scar" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "scar" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "scar" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "scar" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "scar" );
				setPlayerData( "weaponNew" , "scar" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "scar" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "scar" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "scar" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "scar" , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "scar" ) || getplayerdataanybooltrue( "camoNew" , "scar" ) || getplayerdataanybooltrue( "attachmentNew" , "scar" ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "scar" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_tavor"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "tavor" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "tavor" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "tavor" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "tavor" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "tavor" );
				setPlayerData( "weaponNew" , "tavor" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "tavor" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "tavor" , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "tavor" ) || getplayerdataanybooltrue( "camoNew" , "tavor" ) || getplayerdataanybooltrue( "attachmentNew" , "tavor" ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "tavor" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_fal"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "fal" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "fal" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "fal" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "fal" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "fal" );
				setPlayerData( "weaponNew" , "fal" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "fal" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "fal" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "fal" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "fal" , "false" );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "fal" ) || getplayerdataanybooltrue( "camoNew" , "fal" ) || getplayerdataanybooltrue( "attachmentNew" , "fal" ) ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "fal" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_m16"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m16" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "m16" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m16" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "m16" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "m16" );
				setPlayerData( "weaponNew" , "m16" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m16" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m16" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m16" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "m16" , "false" );
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "m16" ) || getplayerdataanybooltrue( "camoNew" , "m16" ) || getplayerdataanybooltrue( "attachmentNew" , "m16" ) ) )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "m16" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_masada"
			rect -64 124 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "masada" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "masada" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "masada" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "masada" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "masada" );
				setPlayerData( "weaponNew" , "masada" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "masada" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "masada" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "masada" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "masada" , "false" );
			}
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "masada" ) || getplayerdataanybooltrue( "camoNew" , "masada" ) || getplayerdataanybooltrue( "attachmentNew" , "masada" ) ) )
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "masada" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_fn2000"
			rect -64 144 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "fn2000" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "fn2000" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "fn2000" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "fn2000" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "fn2000" );
				setPlayerData( "weaponNew" , "fn2000" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "fn2000" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "fn2000" , "false" );
			}
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "fn2000" ) || getplayerdataanybooltrue( "camoNew" , "fn2000" ) || getplayerdataanybooltrue( "attachmentNew" , "fn2000" ) ) )
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "fn2000" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_ak47"
			rect -64 164 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "ak47" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "ak47" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "ak47" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "ak47" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "ak47" );
				setPlayerData( "weaponNew" , "ak47" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "ak47" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "ak47" , "false" );
			}
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "ak47" ) || getplayerdataanybooltrue( "camoNew" , "ak47" ) || getplayerdataanybooltrue( "attachmentNew" , "ak47" ) ) )
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "ak47" ) == 0 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 144
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGES"
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && ( tablelookup( "mp/challengeTable.csv" , 6 , localvarstring( "ui_selected_ref" ) , 4 ) ) != "" )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
	}
	menuDef
	{
		name "popup_cac_smg_primary"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_smg_primary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_smg_primary_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "mp5k" )
			{
				setfocus "cac_weapon_mp5k";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "ump45" )
			{
				setfocus "cac_weapon_ump45";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "kriss" )
			{
				setfocus "cac_weapon_kriss";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "p90" )
			{
				setfocus "cac_weapon_p90";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "uzi" )
			{
				setfocus "cac_weapon_uzi";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_weapon_mp5k"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "mp5k" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "mp5k" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "mp5k" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "mp5k" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "mp5k" );
				setPlayerData( "weaponNew" , "mp5k" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "mp5k" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "mp5k" , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "mp5k" ) || getplayerdataanybooltrue( "camoNew" , "mp5k" ) || getplayerdataanybooltrue( "attachmentNew" , "mp5k" ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "mp5k" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_ump45"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "ump45" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "ump45" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "ump45" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "ump45" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "ump45" );
				setPlayerData( "weaponNew" , "ump45" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "ump45" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "ump45" , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "ump45" ) || getplayerdataanybooltrue( "camoNew" , "ump45" ) || getplayerdataanybooltrue( "attachmentNew" , "ump45" ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "ump45" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_kriss"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "kriss" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "kriss" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "kriss" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "kriss" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "kriss" );
				setPlayerData( "weaponNew" , "kriss" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "kriss" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "kriss" , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "kriss" ) || getplayerdataanybooltrue( "camoNew" , "kriss" ) || getplayerdataanybooltrue( "attachmentNew" , "kriss" ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "kriss" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_p90"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "p90" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "p90" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "p90" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "p90" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "p90" );
				setPlayerData( "weaponNew" , "p90" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "p90" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "p90" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "p90" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "p90" , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "p90" ) || getplayerdataanybooltrue( "camoNew" , "p90" ) || getplayerdataanybooltrue( "attachmentNew" , "p90" ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "p90" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_uzi"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "uzi" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "uzi" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "uzi" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "uzi" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "uzi" );
				setPlayerData( "weaponNew" , "uzi" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "uzi" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "uzi" , "false" );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "uzi" ) || getplayerdataanybooltrue( "camoNew" , "uzi" ) || getplayerdataanybooltrue( "attachmentNew" , "uzi" ) ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "uzi" ) == 0 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 144
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGES"
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && ( tablelookup( "mp/challengeTable.csv" , 6 , localvarstring( "ui_selected_ref" ) , 4 ) ) != "" )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
	}
	menuDef
	{
		name "popup_cac_lmg_primary"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_lmg_primary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_lmg_primary_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "sa80" )
			{
				setfocus "cac_weapon_sa80";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "rpd" )
			{
				setfocus "cac_weapon_rpd";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "mg4" )
			{
				setfocus "cac_weapon_mg4";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "aug" )
			{
				setfocus "cac_weapon_aug";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "m240" )
			{
				setfocus "cac_weapon_m240";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_weapon_sa80"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "sa80" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "sa80" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "sa80" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "sa80" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "sa80" );
				setPlayerData( "weaponNew" , "sa80" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "sa80" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "sa80" , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "sa80" ) || getplayerdataanybooltrue( "camoNew" , "sa80" ) || getplayerdataanybooltrue( "attachmentNew" , "sa80" ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "sa80" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_rpd"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "rpd" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "rpd" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "rpd" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "rpd" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "rpd" );
				setPlayerData( "weaponNew" , "rpd" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "rpd" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "rpd" , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "rpd" ) || getplayerdataanybooltrue( "camoNew" , "rpd" ) || getplayerdataanybooltrue( "attachmentNew" , "rpd" ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "rpd" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_mg4"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "mg4" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "mg4" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "mg4" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "mg4" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "mg4" );
				setPlayerData( "weaponNew" , "mg4" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "mg4" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "mg4" , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "mg4" ) || getplayerdataanybooltrue( "camoNew" , "mg4" ) || getplayerdataanybooltrue( "attachmentNew" , "mg4" ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "mg4" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_aug"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "aug" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "aug" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "aug" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "aug" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "aug" );
				setPlayerData( "weaponNew" , "aug" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "aug" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "aug" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "aug" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "aug" , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "aug" ) || getplayerdataanybooltrue( "camoNew" , "aug" ) || getplayerdataanybooltrue( "attachmentNew" , "aug" ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "aug" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_m240"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m240" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "m240" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m240" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "m240" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "m240" );
				setPlayerData( "weaponNew" , "m240" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m240" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m240" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m240" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "m240" , "false" );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "m240" ) || getplayerdataanybooltrue( "camoNew" , "m240" ) || getplayerdataanybooltrue( "attachmentNew" , "m240" ) ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "m240" ) == 0 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 144
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGES"
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && ( tablelookup( "mp/challengeTable.csv" , 6 , localvarstring( "ui_selected_ref" ) , 4 ) ) != "" )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
	}
	menuDef
	{
		name "popup_cac_sniper_primary"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_sniper_primary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_sniper_primary_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "cheytac" )
			{
				setfocus "cac_weapon_cheytac";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "barrett" )
			{
				setfocus "cac_weapon_barrett";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "wa2000" )
			{
				setfocus "cac_weapon_wa2000";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "m21" )
			{
				setfocus "cac_weapon_m21";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_weapon_cheytac"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "cheytac" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "cheytac" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "cheytac" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "cheytac" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "cheytac" );
				setPlayerData( "weaponNew" , "cheytac" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "cheytac" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "cheytac" , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "cheytac" ) || getplayerdataanybooltrue( "camoNew" , "cheytac" ) || getplayerdataanybooltrue( "attachmentNew" , "cheytac" ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "cheytac" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_barrett"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "barrett" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "barrett" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "barrett" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "barrett" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "barrett" );
				setPlayerData( "weaponNew" , "barrett" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "barrett" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "barrett" , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "barrett" ) || getplayerdataanybooltrue( "camoNew" , "barrett" ) || getplayerdataanybooltrue( "attachmentNew" , "barrett" ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "barrett" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_wa2000"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "wa2000" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "wa2000" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "wa2000" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "wa2000" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "wa2000" );
				setPlayerData( "weaponNew" , "wa2000" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "wa2000" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "wa2000" , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "wa2000" ) || getplayerdataanybooltrue( "camoNew" , "wa2000" ) || getplayerdataanybooltrue( "attachmentNew" , "wa2000" ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "wa2000" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_m21"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m21" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "m21" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m21" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) != "m21" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "m21" );
				setPlayerData( "weaponNew" , "m21" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 0 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m21" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m21" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m21" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "m21" , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "m21" ) || getplayerdataanybooltrue( "camoNew" , "m21" ) || getplayerdataanybooltrue( "attachmentNew" , "m21" ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "m21" ) == 0 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 144
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGES"
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && ( tablelookup( "mp/challengeTable.csv" , 6 , localvarstring( "ui_selected_ref" ) , 4 ) ) != "" )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 1 )
		}
	}
	menuDef
	{
		name "popup_cac_machinepistols_secondary"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_machinepistols_secondary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_machinepistols_secondary_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "pp2000" )
			{
				setfocus "cac_weapon_pp2000";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "glock" )
			{
				setfocus "cac_weapon_glock";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "beretta393" )
			{
				setfocus "cac_weapon_beretta393";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "tmp" )
			{
				setfocus "cac_weapon_tmp";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_weapon_pp2000"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "pp2000" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "pp2000" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "pp2000" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "pp2000" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "pp2000" );
				setPlayerData( "weaponNew" , "pp2000" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "pp2000" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "pp2000" , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "pp2000" ) || getplayerdataanybooltrue( "camoNew" , "pp2000" ) || getplayerdataanybooltrue( "attachmentNew" , "pp2000" ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "pp2000" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_glock"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "glock" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "glock" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "glock" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "glock" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
				setPlayerData( "weaponNew" , "glock" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "glock" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "glock" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "glock" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "glock" , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "glock" ) || getplayerdataanybooltrue( "camoNew" , "glock" ) || getplayerdataanybooltrue( "attachmentNew" , "glock" ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "glock" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_beretta393"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "beretta393" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "beretta393" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "beretta393" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "beretta393" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "beretta393" );
				setPlayerData( "weaponNew" , "beretta393" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "beretta393" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "beretta393" , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "beretta393" ) || getplayerdataanybooltrue( "camoNew" , "beretta393" ) || getplayerdataanybooltrue( "attachmentNew" , "beretta393" ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "beretta393" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_tmp"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "tmp" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "tmp" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "tmp" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "tmp" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "tmp" );
				setPlayerData( "weaponNew" , "tmp" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "tmp" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "tmp" , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "tmp" ) || getplayerdataanybooltrue( "camoNew" , "tmp" ) || getplayerdataanybooltrue( "attachmentNew" , "tmp" ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "tmp" ) == 0 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 144
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGES"
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && ( tablelookup( "mp/challengeTable.csv" , 6 , localvarstring( "ui_selected_ref" ) , 4 ) ) != "" )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
	}
	menuDef
	{
		name "popup_cac_shotgun_secondary"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_shotgun_secondary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_shotgun_secondary_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "spas12" )
			{
				setfocus "cac_weapon_spas12";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "aa12" )
			{
				setfocus "cac_weapon_aa12";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "striker" )
			{
				setfocus "cac_weapon_striker";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "ranger" )
			{
				setfocus "cac_weapon_ranger";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "m1014" )
			{
				setfocus "cac_weapon_m1014";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "model1887" )
			{
				setfocus "cac_weapon_model1887";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_weapon_spas12"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "spas12" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "spas12" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "spas12" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "spas12" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "spas12" );
				setPlayerData( "weaponNew" , "spas12" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "spas12" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "spas12" , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "spas12" ) || getplayerdataanybooltrue( "camoNew" , "spas12" ) || getplayerdataanybooltrue( "attachmentNew" , "spas12" ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "spas12" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_aa12"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "aa12" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "aa12" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "aa12" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "aa12" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "aa12" );
				setPlayerData( "weaponNew" , "aa12" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "aa12" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "aa12" , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "aa12" ) || getplayerdataanybooltrue( "camoNew" , "aa12" ) || getplayerdataanybooltrue( "attachmentNew" , "aa12" ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "aa12" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_striker"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "striker" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "striker" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "striker" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "striker" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "striker" );
				setPlayerData( "weaponNew" , "striker" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "striker" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "striker" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "striker" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "striker" , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "striker" ) || getplayerdataanybooltrue( "camoNew" , "striker" ) || getplayerdataanybooltrue( "attachmentNew" , "striker" ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "striker" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_ranger"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "ranger" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "ranger" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "ranger" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "ranger" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "ranger" );
				setPlayerData( "weaponNew" , "ranger" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "ranger" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "ranger" , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "ranger" ) || getplayerdataanybooltrue( "camoNew" , "ranger" ) || getplayerdataanybooltrue( "attachmentNew" , "ranger" ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "ranger" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_m1014"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m1014" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "m1014" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m1014" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "m1014" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "m1014" );
				setPlayerData( "weaponNew" , "m1014" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m1014" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "m1014" , "false" );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "m1014" ) || getplayerdataanybooltrue( "camoNew" , "m1014" ) || getplayerdataanybooltrue( "attachmentNew" , "m1014" ) ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "m1014" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_model1887"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "model1887" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "model1887" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "model1887" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "model1887" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "model1887" );
				setPlayerData( "weaponNew" , "model1887" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "model1887" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "model1887" , "false" );
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "model1887" ) || getplayerdataanybooltrue( "camoNew" , "model1887" ) || getplayerdataanybooltrue( "attachmentNew" , "model1887" ) ) )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "model1887" ) == 0 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 144
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGES"
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && ( tablelookup( "mp/challengeTable.csv" , 6 , localvarstring( "ui_selected_ref" ) , 4 ) ) != "" )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
	}
	menuDef
	{
		name "popup_cac_handgun_secondary"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_handgun_secondary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_handgun_secondary_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "usp" )
			{
				setfocus "cac_weapon_usp";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "coltanaconda" )
			{
				setfocus "cac_weapon_coltanaconda";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "beretta" )
			{
				setfocus "cac_weapon_beretta";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "deserteagle" )
			{
				setfocus "cac_weapon_deserteagle";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_weapon_usp"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "usp" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "usp" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "usp" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "usp" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "usp" );
				setPlayerData( "weaponNew" , "usp" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "usp" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "usp" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "usp" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "usp" , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "usp" ) || getplayerdataanybooltrue( "camoNew" , "usp" ) || getplayerdataanybooltrue( "attachmentNew" , "usp" ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "usp" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_coltanaconda"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "coltanaconda" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "coltanaconda" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "coltanaconda" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "coltanaconda" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "coltanaconda" );
				setPlayerData( "weaponNew" , "coltanaconda" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "coltanaconda" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "coltanaconda" , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "coltanaconda" ) || getplayerdataanybooltrue( "camoNew" , "coltanaconda" ) || getplayerdataanybooltrue( "attachmentNew" , "coltanaconda" ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "coltanaconda" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_beretta"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "beretta" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "beretta" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "beretta" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "beretta" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "beretta" );
				setPlayerData( "weaponNew" , "beretta" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "beretta" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "beretta" , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "beretta" ) || getplayerdataanybooltrue( "camoNew" , "beretta" ) || getplayerdataanybooltrue( "attachmentNew" , "beretta" ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "beretta" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_deserteagle"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "deserteagle" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "deserteagle" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "deserteagle" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "deserteagle" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "deserteagle" );
				setPlayerData( "weaponNew" , "deserteagle" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "deserteagle" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "deserteagle" , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "deserteagle" ) || getplayerdataanybooltrue( "camoNew" , "deserteagle" ) || getplayerdataanybooltrue( "attachmentNew" , "deserteagle" ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "deserteagle" ) == 0 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 144
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGES"
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && ( tablelookup( "mp/challengeTable.csv" , 6 , localvarstring( "ui_selected_ref" ) , 4 ) ) != "" )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
	}
	menuDef
	{
		name "popup_cac_rocket_secondary"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_rocket_secondary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_rocket_secondary_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "at4" )
			{
				setfocus "cac_weapon_at4";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "m79" )
			{
				setfocus "cac_weapon_m79";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "stinger" )
			{
				setfocus "cac_weapon_stinger";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "javelin" )
			{
				setfocus "cac_weapon_javelin";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "rpg" )
			{
				setfocus "cac_weapon_rpg";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_weapon_at4"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "at4" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "at4" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "at4" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "at4" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "at4" );
				setPlayerData( "weaponNew" , "at4" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "at4" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "at4" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "at4" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "at4" , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "at4" ) || getplayerdataanybooltrue( "camoNew" , "at4" ) || getplayerdataanybooltrue( "attachmentNew" , "at4" ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "at4" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_m79"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m79" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "m79" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m79" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "m79" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "m79" );
				setPlayerData( "weaponNew" , "m79" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m79" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "m79" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m79" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "m79" , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "m79" ) || getplayerdataanybooltrue( "camoNew" , "m79" ) || getplayerdataanybooltrue( "attachmentNew" , "m79" ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "m79" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_stinger"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "stinger" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "stinger" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "stinger" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "stinger" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "stinger" );
				setPlayerData( "weaponNew" , "stinger" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "stinger" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "stinger" , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "stinger" ) || getplayerdataanybooltrue( "camoNew" , "stinger" ) || getplayerdataanybooltrue( "attachmentNew" , "stinger" ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "stinger" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_javelin"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "javelin" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "javelin" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "javelin" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "javelin" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "javelin" );
				setPlayerData( "weaponNew" , "javelin" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "javelin" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "javelin" , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "javelin" ) || getplayerdataanybooltrue( "camoNew" , "javelin" ) || getplayerdataanybooltrue( "attachmentNew" , "javelin" ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "javelin" ) == 0 ) )
		}
		itemDef
		{
			name "cac_weapon_rpg"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "rpg" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) )
			execKey "BUTTON_X"
			{
				if ( ( tablelookup( "mp/challengeTable.csv" , 6 , "rpg" , 4 ) ) != "" )
				{
					setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "rpg" , 4 ) );
					open "menu_challenge_details";
				}
			}
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) != "rpg" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				}
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "rpg" );
				setPlayerData( "weaponNew" , "rpg" , "false" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( 1 == 0 )
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
						{
							open "popup_primary_attachments_bling";
						}
						else
						{
							open "popup_primary_attachments";
						}
					}
					else
					{
						open "popup_cac_primary_camo";
					}
				}
				else
				{
					if ( ( tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 11 ) != "" ) )
					{
						if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) )
						{
							open "popup_secondary_attachments_bling";
						}
						else
						{
							open "popup_secondary_attachments";
						}
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "rpg" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "weaponNew" , "rpg" , "false" );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "weaponNew" , "rpg" ) || getplayerdataanybooltrue( "camoNew" , "rpg" ) || getplayerdataanybooltrue( "attachmentNew" , "rpg" ) ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "rpg" ) == 0 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 144
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGES"
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && ( tablelookup( "mp/challengeTable.csv" , 6 , localvarstring( "ui_selected_ref" ) , 4 ) ) != "" )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( 0 / 100 ) ) * ( 0 < 0 ) ) )
			exp rect w ( min( 120 * ( 0 / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( 0 < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( 0 > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 26 ) && 0 )
		}
	}
	menuDef
	{
		name "popup_primary_attachments"
		rect -64 0 854 224 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_primary_attachments_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		execKey "BUTTON_X"
		{
			if ( localvarstring( "ui_selected_ref" ) != "none" && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			{
				open "menu_challenge_detail_popup";
			}
		}
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_primary_attachments_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == "none" )
			{
				setfocus "cac_attachment_-1";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) )
			{
				setfocus "cac_attachment_0";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) )
			{
				setfocus "cac_attachment_1";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) )
			{
				setfocus "cac_attachment_2";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) )
			{
				setfocus "cac_attachment_3";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) )
			{
				setfocus "cac_attachment_4";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) )
			{
				setfocus "cac_attachment_5";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) )
			{
				setfocus "cac_attachment_6";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) )
			{
				setfocus "cac_attachment_7";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) )
			{
				setfocus "cac_attachment_8";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) )
			{
				setfocus "cac_attachment_9";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 224 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 10 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 10 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 10 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 10 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 10 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 10 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 10 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 224 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_attachment_-1"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( "none" != "" )
			disabled when ( "none" != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( "none" ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , "none" ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( "none" );
					if ( ( localvarstring( "ui_attachment1" ) == "none" || localvarstring( "ui_attachment2" ) == "none" ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == "none" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "none" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "none" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , "none" ) )
			visible when ( "none" != "" )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( "none" != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + "none" ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_0"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) != "" )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 11 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_1"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) != "" )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 12 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_2"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) != "" )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 13 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_3"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) != "" )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 14 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_4"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) != "" )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 15 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_5"
			rect -64 124 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) != "" )
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 16 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_6"
			rect -64 144 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) != "" )
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 17 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_7"
			rect -64 164 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) != "" )
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 18 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_8"
			rect -64 184 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 184 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) != "" )
		}
		itemDef
		{
			rect 162 184 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 19 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_9"
			rect -64 204 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 204 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) != "" )
		}
		itemDef
		{
			rect 162 204 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 20 ) ) == 0 )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect 12 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( localvarstring( "ui_selected_ref" ) != "" )
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 84
			textscale 0.375
			text "@MPUI_UNLOCKED_BY_CHALLENGE_PRE"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 102
			textscale 0.375
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -4
			textaligny 102
			textscale 0.375
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 164
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGE_DETAILS"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) && 1 )
		}
	}
	menuDef
	{
		name "popup_secondary_attachments"
		rect -64 0 854 224 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_secondary_attachments_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		execKey "BUTTON_X"
		{
			if ( localvarstring( "ui_selected_ref" ) != "none" && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			{
				open "menu_challenge_detail_popup";
			}
		}
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_secondary_attachments_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == "none" )
			{
				setfocus "cac_attachment_-1";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) )
			{
				setfocus "cac_attachment_0";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) )
			{
				setfocus "cac_attachment_1";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) )
			{
				setfocus "cac_attachment_2";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) )
			{
				setfocus "cac_attachment_3";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) )
			{
				setfocus "cac_attachment_4";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) )
			{
				setfocus "cac_attachment_5";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) )
			{
				setfocus "cac_attachment_6";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) )
			{
				setfocus "cac_attachment_7";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) )
			{
				setfocus "cac_attachment_8";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) )
			{
				setfocus "cac_attachment_9";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 224 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 10 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 10 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 10 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 10 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 10 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 10 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 10 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 224 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_attachment_-1"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( "none" != "" )
			disabled when ( "none" != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( "none" ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , "none" ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "none" , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( "none" );
					if ( ( localvarstring( "ui_attachment1" ) == "none" || localvarstring( "ui_attachment2" ) == "none" ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == "none" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( "none" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "none" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "none" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , "none" ) )
			visible when ( "none" != "" )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( "none" != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + "none" ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_0"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) != "" )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 11 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_1"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) != "" )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 12 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_2"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) != "" )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 13 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_3"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) != "" )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 14 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_4"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) != "" )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 15 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_5"
			rect -64 124 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) != "" )
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 16 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_6"
			rect -64 144 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) != "" )
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 17 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_7"
			rect -64 164 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) != "" )
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 18 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_8"
			rect -64 184 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 184 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) != "" )
		}
		itemDef
		{
			rect 162 184 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 19 ) ) == 0 )
		}
		itemDef
		{
			name "cac_attachment_9"
			rect -64 204 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) ) ) || ( ( ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" ) && menuisopen( "popup_primary_attachments_bling" ) ) || ( ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && isitemunlocked( "specialty_secondarybling" ) ) && menuisopen( "popup_secondary_attachments_bling" ) ) ) && tablelookup( "mp/attachmentCombos.csv" , 0 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) ) ) == "no" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 204 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) != "" )
		}
		itemDef
		{
			rect 162 204 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 20 ) ) == 0 )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect 12 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( localvarstring( "ui_selected_ref" ) != "" )
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 84
			textscale 0.375
			text "@MPUI_UNLOCKED_BY_CHALLENGE_PRE"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 102
			textscale 0.375
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -4
			textaligny 102
			textscale 0.375
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -56 0 200 224 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 164
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGE_DETAILS"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) && 0 )
		}
	}
	menuDef
	{
		name "popup_primary_attachments_bling"
		rect -64 0 854 244 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_primary_attachments_bling_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		execKey "BUTTON_X"
		{
			if ( localvarstring( "ui_selected_ref" ) != "none" && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			{
				open "menu_challenge_detail_popup";
			}
		}
		execKey "BUTTON_Y"
		{
			setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "none" );
			setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
			setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
			setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
			setLocalVarInt "ui_numAttachments" ( 0 );
			if ( localvarstring( "ui_attachment1" ) != "none" )
			{
				setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
			}
			if ( localvarstring( "ui_attachment2" ) != "none" )
			{
				setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
			}
		}
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_primary_attachments_bling_tabDepth" ( localvarint( "ui_tabDepth" ) );
			setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
			setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
			setLocalVarInt "ui_numAttachments" ( 0 );
			if ( localvarstring( "ui_attachment1" ) != "none" )
			{
				setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
			}
			if ( localvarstring( "ui_attachment2" ) != "none" )
			{
				setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
			}
			focusfirst;
			if ( localvarint( "ui_numAttachments" ) < 2 )
			{
				setfocus "cac_attachment_0";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 244 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 11 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 11 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 11 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 11 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 11 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 11 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 11 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 244 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_attachment_done"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			exp forecolor r ( 1 - ( ( localvarint( "ui_numAttachments" ) == 2 ) * 0.25 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_numAttachments" ) == 2 ) * 0.25 ) )
			visible when ( 1 )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "done" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				open "popup_cac_primary_camo";
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "done" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 24 280 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 24 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) )
		}
		itemDef
		{
			name "cac_attachment_0"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 0 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) != "" )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) ) == 0 )
		}
		itemDef
		{
			rect -64 44 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) )
		}
		itemDef
		{
			name "cac_attachment_1"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 0 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) != "" )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 12 ) ) == 0 )
		}
		itemDef
		{
			rect -64 64 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) )
		}
		itemDef
		{
			name "cac_attachment_2"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 0 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) != "" )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 13 ) ) == 0 )
		}
		itemDef
		{
			rect -64 84 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) )
		}
		itemDef
		{
			name "cac_attachment_3"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 0 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) != "" )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 14 ) ) == 0 )
		}
		itemDef
		{
			rect -64 104 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) )
		}
		itemDef
		{
			name "cac_attachment_4"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 0 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) != "" )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 15 ) ) == 0 )
		}
		itemDef
		{
			rect -64 124 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) )
		}
		itemDef
		{
			name "cac_attachment_5"
			rect -64 124 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 0 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) != "" )
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 16 ) ) == 0 )
		}
		itemDef
		{
			rect -64 144 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) )
		}
		itemDef
		{
			name "cac_attachment_6"
			rect -64 144 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 0 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) != "" )
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 17 ) ) == 0 )
		}
		itemDef
		{
			rect -64 164 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) )
		}
		itemDef
		{
			name "cac_attachment_7"
			rect -64 164 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 0 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) != "" )
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 18 ) ) == 0 )
		}
		itemDef
		{
			rect -64 184 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) )
		}
		itemDef
		{
			name "cac_attachment_8"
			rect -64 184 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 0 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 184 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) != "" )
		}
		itemDef
		{
			rect 162 184 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 19 ) ) == 0 )
		}
		itemDef
		{
			rect -64 204 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) )
		}
		itemDef
		{
			name "cac_attachment_9"
			rect -64 204 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 0 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 0 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 204 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) != "" )
		}
		itemDef
		{
			rect 162 204 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 20 ) ) == 0 )
		}
		itemDef
		{
			rect -64 224 336 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			exp text ( "@PLATFORM_UI_CLEAR_ATTACHMENTS" )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect 12 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( localvarstring( "ui_selected_ref" ) != "" )
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 84
			textscale 0.375
			text "@MPUI_UNLOCKED_BY_CHALLENGE_PRE"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 102
			textscale 0.375
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -4
			textaligny 102
			textscale 0.375
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 164
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGE_DETAILS"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 26 ) && 1 )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 124
			textscale 0.375
			visible when ( localvarint( "ui_numAttachments" ) == 2 )
			exp text ( "@MPUI_ATTACHMENTS_FULL" )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 124
			textscale 0.375
			visible when ( localvarint( "ui_numAttachments" ) < 2 && localvarstring( "ui_attachment_hint" ) != "" )
			exp text ( locstring( "@MPUI_ATTACHMENT_INCOMPATIBLE" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_attachment_hint" ) , 3 ) ) )
		}
	}
	menuDef
	{
		name "popup_secondary_attachments_bling"
		rect -64 0 854 244 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_secondary_attachments_bling_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		execKey "BUTTON_X"
		{
			if ( localvarstring( "ui_selected_ref" ) != "none" && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			{
				open "menu_challenge_detail_popup";
			}
		}
		execKey "BUTTON_Y"
		{
			setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
			setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
			setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
			setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
			setLocalVarInt "ui_numAttachments" ( 0 );
			if ( localvarstring( "ui_attachment1" ) != "none" )
			{
				setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
			}
			if ( localvarstring( "ui_attachment2" ) != "none" )
			{
				setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
			}
		}
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_secondary_attachments_bling_tabDepth" ( localvarint( "ui_tabDepth" ) );
			setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
			setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
			setLocalVarInt "ui_numAttachments" ( 0 );
			if ( localvarstring( "ui_attachment1" ) != "none" )
			{
				setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
			}
			if ( localvarstring( "ui_attachment2" ) != "none" )
			{
				setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
			}
			focusfirst;
			if ( localvarint( "ui_numAttachments" ) < 2 )
			{
				setfocus "cac_attachment_0";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 244 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 11 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 11 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 11 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 11 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 11 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 11 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 11 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 244 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_attachment_done"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , "done" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 24 280 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 24 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) )
		}
		itemDef
		{
			name "cac_attachment_0"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 1 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) != "" )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) ) == 0 )
		}
		itemDef
		{
			rect -64 44 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) )
		}
		itemDef
		{
			name "cac_attachment_1"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 1 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) != "" )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 12 ) ) == 0 )
		}
		itemDef
		{
			rect -64 64 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) )
		}
		itemDef
		{
			name "cac_attachment_2"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 1 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) != "" )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 13 ) ) == 0 )
		}
		itemDef
		{
			rect -64 84 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) )
		}
		itemDef
		{
			name "cac_attachment_3"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 1 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) != "" )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 14 ) ) == 0 )
		}
		itemDef
		{
			rect -64 104 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) )
		}
		itemDef
		{
			name "cac_attachment_4"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 1 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) != "" )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 15 ) ) == 0 )
		}
		itemDef
		{
			rect -64 124 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) )
		}
		itemDef
		{
			name "cac_attachment_5"
			rect -64 124 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 1 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) != "" )
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 16 ) ) == 0 )
		}
		itemDef
		{
			rect -64 144 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) )
		}
		itemDef
		{
			name "cac_attachment_6"
			rect -64 144 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 1 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) != "" )
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 17 ) ) == 0 )
		}
		itemDef
		{
			rect -64 164 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) )
		}
		itemDef
		{
			name "cac_attachment_7"
			rect -64 164 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 1 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) != "" )
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 18 ) ) == 0 )
		}
		itemDef
		{
			rect -64 184 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) )
		}
		itemDef
		{
			name "cac_attachment_8"
			rect -64 184 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 1 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 184 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) != "" )
		}
		itemDef
		{
			rect 162 184 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 19 ) ) == 0 )
		}
		itemDef
		{
			rect -64 204 336 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "popup_button_selected_bar_bling"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) )
		}
		itemDef
		{
			name "cac_attachment_9"
			rect -64 204 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_bling"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) != "" )
			disabled when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) != "" && ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) ) ) || ( !( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) ) && ( ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) || !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) || localvarint( "ui_numAttachments" ) == 2 ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , 3 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				if ( menuisopen( "popup_primary_attachments_bling" ) || menuisopen( "popup_secondary_attachments_bling" ) )
				{
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) ) )
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "none" );
					}
					else
					{
						setLocalVarInt "tempInt" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) != "none" );
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , "localVarInt" ( "tempInt" ) , "localVarString" ( "tempName" ) );
					}
					setLocalVarString "ui_attachment1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "ui_attachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					setLocalVarInt "ui_numAttachments" ( 0 );
					if ( localvarstring( "ui_attachment1" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( localvarstring( "ui_attachment2" ) != "none" )
					{
						setLocalVarInt "ui_numAttachments" ( localvarint( "ui_numAttachments" ) + 1 );
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) ) )
					{
						setItemColor self backcolor 0 0 0 "0.35";
					}
					else
					{
						setItemColor self backcolor 0 0 0 1;
					}
					if ( localvarint( "ui_numAttachments" ) == 2 )
					{
						if ( 1 == 0 )
						{
							if ( localvarint( "ui_tabDepth" ) == 0 )
							{
								setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 1 )
							{
								setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 2 )
							{
								setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 3 )
							{
								setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 4 )
							{
								setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							if ( localvarint( "ui_tabDepth" ) == 5 )
							{
								setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
							}
							open "popup_cac_primary_camo";
						}
						else
						{
							close "popup_cac_weapon_primary";
							close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
							close "popup_cac_handgun_secondary";
							close "popup_cac_machinePistols_secondary";
							close "popup_cac_assault_primary";
							close "popup_cac_SMG_primary";
							close "popup_cac_LMG_primary";
							close "popup_cac_sniper_primary";
							close "popup_cac_shotgun_primary";
							close "popup_cac_assault_secondary";
							close "popup_cac_SMG_secondary";
							close "popup_cac_LMG_secondary";
							close "popup_cac_sniper_secondary";
							close "popup_cac_shotgun_secondary";
							close "popup_cac_template";
							close "popup_cac_primary_camo";
							close "popup_cac_secondary_camo";
							close "popup_cac_bling";
							close "popup_cac_perk2";
							close "popup_cac_rocket_secondary";
							close "popup_primary_attachments_bling";
							close "popup_secondary_attachments_bling";
							close "popup_cac_other_primary";
						}
						if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
						{
							setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
						}
						setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
						setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
						setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
						setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
						setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
						if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
						{
							setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
						}
						setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
						setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
						setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
						setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
						setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
						setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
						setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
						setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
						setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
						setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
						setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
					}
				}
				else
				{
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					}
					setLocalVarString "tempName" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "tempName" ) );
					if ( 1 == 0 )
					{
						open "popup_cac_primary_camo";
					}
					else
					{
						close "popup_cac_weapon_primary";
						close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
						close "popup_cac_handgun_secondary";
						close "popup_cac_machinePistols_secondary";
						close "popup_cac_assault_primary";
						close "popup_cac_SMG_primary";
						close "popup_cac_LMG_primary";
						close "popup_cac_sniper_primary";
						close "popup_cac_shotgun_primary";
						close "popup_cac_assault_secondary";
						close "popup_cac_SMG_secondary";
						close "popup_cac_LMG_secondary";
						close "popup_cac_sniper_secondary";
						close "popup_cac_shotgun_secondary";
						close "popup_cac_template";
						close "popup_cac_primary_camo";
						close "popup_cac_secondary_camo";
						close "popup_cac_bling";
						close "popup_cac_perk2";
						close "popup_cac_rocket_secondary";
						close "popup_primary_attachments_bling";
						close "popup_secondary_attachments_bling";
						close "popup_cac_other_primary";
					}
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_attachment_hint" ( "" );
				setLocalVarString "ui_selected_ref" ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_marksman_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_marksman_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_attachment1" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) || localvarstring( "ui_attachment2" ) == tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) ) )
				{
					setItemColor self backcolor 0 0 0 "0.35";
				}
				else
				{
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment1" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment1" ) );
					}
					if ( !( tablelookup( "mp/attachmentCombos.csv" , 0 , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) , tablegetrownum( "mp/attachmentCombos.csv" , 0 , localvarstring( "ui_attachment2" ) ) ) != "no" ) )
					{
						setLocalVarString "ui_attachment_hint" ( localvarstring( "ui_attachment2" ) );
					}
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				if ( localvarstring( "ui_selected_ref" ) != "" )
				{
					setPlayerData( "attachmentNew" , "localVarString" ( "tempName" ) , "localVarString" ( "ui_selected_ref" ) , "false" ) ;;
				}
			}
		}
		itemDef
		{
			rect 162 204 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			exp forecolor a ( 1 * getplayerdata( "attachmentNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) ) )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) != "" )
		}
		itemDef
		{
			rect 162 204 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) != "" && isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 20 ) ) == 0 )
		}
		itemDef
		{
			rect -64 224 336 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			exp text ( "@PLATFORM_UI_CLEAR_ATTACHMENTS" )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect 12 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( localvarstring( "ui_selected_ref" ) != "" )
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 84
			textscale 0.375
			text "@MPUI_UNLOCKED_BY_CHALLENGE_PRE"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 102
			textscale 0.375
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -4
			textaligny 102
			textscale 0.375
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -56 0 200 244 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -4
			textaligny 164
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGE_DETAILS"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
		itemDef
		{
			rect -128 22 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_ACCURACY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 22 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 14 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 22 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_DAMAGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 48 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 15 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 23 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_RANGE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 74 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 16 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 24 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_FIRE_RATE"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 100 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 17 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 25 ) && 1 )
		}
		itemDef
		{
			rect -128 126 120 4 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 3
			textalign 6
			textaligny -20
			textscale 0.375
			text "@MPUI_MOBILITY"
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.75 1 0.7 0.85
			background "white"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) / 100 ) * 120 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) && 0 )
		}
		itemDef
		{
			rect -128 126 120 2 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect x ( - 64 + ( 0 - 120 * ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) / 100 ) ) + ( ( 0 - 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) / 100 ) ) * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) < 0 ) ) )
			exp rect w ( min( 120 * ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) / 100 ) , ( 1 - ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) / 100 ) ) * 120 ) )
			exp forecolor r ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) < 0 ) * 0.45 + 0.25 )
			exp forecolor g ( ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 18 ) > 0 ) * 0.45 + 0.25 )
			visible when ( tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 26 ) && 0 )
		}
	}
	menuDef
	{
		name "popup_cac_primary_camo"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_primary_camo_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		execKey "BUTTON_X"
		{
			if ( localvarstring( "ui_selected_ref" ) != "none" && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			{
				open "menu_challenge_detail_popup";
			}
		}
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_primary_camo_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) == "none" )
			{
				setfocus "cac_camo_none";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) == "desert" )
			{
				setfocus "cac_camo_desert";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) == "arctic" )
			{
				setfocus "cac_camo_arctic";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) == "woodland" )
			{
				setfocus "cac_camo_woodland";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) == "digital" )
			{
				setfocus "cac_camo_digital";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) == "red_urban" )
			{
				setfocus "cac_camo_red_urban";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) == "blue_tiger" )
			{
				setfocus "cac_camo_blue_tiger";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) == "red_tiger" )
			{
				setfocus "cac_camo_red_tiger";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) == "orange_fall" )
			{
				setfocus "cac_camo_orange_fall";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_camo_none"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( "none" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "none" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "none" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "none" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "none" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "none" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , "none" ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + "none" ) )
		}
		itemDef
		{
			name "cac_camo_desert"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( "desert" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "desert" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "desert" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "desert" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "desert" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "desert" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , "desert" ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + "desert" ) )
		}
		itemDef
		{
			name "cac_camo_arctic"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( "arctic" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "arctic" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "arctic" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "arctic" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "arctic" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "arctic" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , "arctic" ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + "arctic" ) )
		}
		itemDef
		{
			name "cac_camo_woodland"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( "woodland" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "woodland" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "woodland" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "woodland" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "woodland" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "woodland" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , "woodland" ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + "woodland" ) )
		}
		itemDef
		{
			name "cac_camo_digital"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( "digital" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "digital" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "digital" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "digital" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "digital" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "digital" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , "digital" ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + "digital" ) )
		}
		itemDef
		{
			name "cac_camo_red_urban"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( "red_urban" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "red_urban" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "red_urban" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "red_urban" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "red_urban" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "red_urban" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , "red_urban" ) )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + "red_urban" ) )
		}
		itemDef
		{
			name "cac_camo_blue_tiger"
			rect -64 124 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( "blue_tiger" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "blue_tiger" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "blue_tiger" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "blue_tiger" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "blue_tiger" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "blue_tiger" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , "blue_tiger" ) )
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + "blue_tiger" ) )
		}
		itemDef
		{
			name "cac_camo_red_tiger"
			rect -64 144 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( "red_tiger" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "red_tiger" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "red_tiger" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "red_tiger" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "red_tiger" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "red_tiger" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , "red_tiger" ) )
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + "red_tiger" ) )
		}
		itemDef
		{
			name "cac_camo_orange_fall"
			rect -64 164 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + ( "orange_fall" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "orange_fall" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "orange_fall" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "orange_fall" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "orange_fall" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "orange_fall" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , "orange_fall" ) )
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + "orange_fall" ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 2 ) )
		}
		itemDef
		{
			rect -56 24 -300 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) )
		}
		itemDef
		{
			rect -56 24 -300 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			textscale 0.55
			visible when ( localvarstring( "ui_selected_ref" ) == "none" )
			exp material ( "ui_camoskin_woodland" )
		}
		itemDef
		{
			rect -56 124 400 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 0.35
			background "black"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 124 400 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			text "@MPUI_UNLOCKED_BY_CHALLENGE_PRE"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
		itemDef
		{
			rect -56 124 400 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 20
			textscale 0.375
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -56 124 400 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 40
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGE_DETAILS"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
	}
	menuDef
	{
		name "popup_cac_secondary_camo"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_secondary_camo_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		execKey "BUTTON_X"
		{
			if ( localvarstring( "ui_selected_ref" ) != "none" && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			{
				open "menu_challenge_detail_popup";
			}
		}
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_secondary_camo_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) == "none" )
			{
				setfocus "cac_camo_none";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) == "desert" )
			{
				setfocus "cac_camo_desert";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) == "arctic" )
			{
				setfocus "cac_camo_arctic";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) == "woodland" )
			{
				setfocus "cac_camo_woodland";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) == "digital" )
			{
				setfocus "cac_camo_digital";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) == "red_urban" )
			{
				setfocus "cac_camo_red_urban";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) == "blue_tiger" )
			{
				setfocus "cac_camo_blue_tiger";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) == "red_tiger" )
			{
				setfocus "cac_camo_red_tiger";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) == "orange_fall" )
			{
				setfocus "cac_camo_orange_fall";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_camo_none"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( "none" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "none" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "none" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "none" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "none" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "none" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "none" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , "none" ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + "none" ) )
		}
		itemDef
		{
			name "cac_camo_desert"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( "desert" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "desert" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "desert" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "desert" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "desert" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "desert" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "desert" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , "desert" ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + "desert" ) )
		}
		itemDef
		{
			name "cac_camo_arctic"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( "arctic" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "arctic" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "arctic" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "arctic" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "arctic" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "arctic" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "arctic" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , "arctic" ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + "arctic" ) )
		}
		itemDef
		{
			name "cac_camo_woodland"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( "woodland" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "woodland" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "woodland" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "woodland" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "woodland" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "woodland" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "woodland" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , "woodland" ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + "woodland" ) )
		}
		itemDef
		{
			name "cac_camo_digital"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( "digital" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "digital" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "digital" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "digital" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "digital" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "digital" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "digital" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , "digital" ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + "digital" ) )
		}
		itemDef
		{
			name "cac_camo_red_urban"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( "red_urban" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_urban" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "red_urban" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "red_urban" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "red_urban" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "red_urban" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "red_urban" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , "red_urban" ) )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + "red_urban" ) )
		}
		itemDef
		{
			name "cac_camo_blue_tiger"
			rect -64 124 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( "blue_tiger" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "blue_tiger" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "blue_tiger" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "blue_tiger" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "blue_tiger" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "blue_tiger" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "blue_tiger" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , "blue_tiger" ) )
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + "blue_tiger" ) )
		}
		itemDef
		{
			name "cac_camo_red_tiger"
			rect -64 144 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( "red_tiger" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "red_tiger" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "red_tiger" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "red_tiger" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "red_tiger" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "red_tiger" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "red_tiger" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , "red_tiger" ) )
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + "red_tiger" ) )
		}
		itemDef
		{
			name "cac_camo_orange_fall"
			rect -64 164 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			visible when ( 1 )
			disabled when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + ( "orange_fall" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/camoTable.csv" , 1 , "orange_fall" , 2 ) );
				}
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "orange_fall" , "false" );
				; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "orange_fall" );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close "popup_cac_weapon_primary";
				close "popup_primary_attachments" close "popup_secondary_attachments" close "popup_cac_weapon_secondary";
				close "popup_cac_handgun_secondary";
				close "popup_cac_machinePistols_secondary";
				close "popup_cac_assault_primary";
				close "popup_cac_SMG_primary";
				close "popup_cac_LMG_primary";
				close "popup_cac_sniper_primary";
				close "popup_cac_shotgun_primary";
				close "popup_cac_assault_secondary";
				close "popup_cac_SMG_secondary";
				close "popup_cac_LMG_secondary";
				close "popup_cac_sniper_secondary";
				close "popup_cac_shotgun_secondary";
				close "popup_cac_template";
				close "popup_cac_primary_camo";
				close "popup_cac_secondary_camo";
				close "popup_cac_bling";
				close "popup_cac_perk2";
				close "popup_cac_rocket_secondary";
				close "popup_primary_attachments_bling";
				close "popup_secondary_attachments_bling";
				close "popup_cac_other_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "orange_fall" );
				setLocalVarString "ui_weapon_ref" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "ui_unlock_ref" ( localvarstring( "ui_weapon_ref" ) + " " + "orange_fall" );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_unlock_ref" ) , 3 ) );
				setLocalVarInt "ui_challenge_state" ( 1 );
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_2" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_3" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_4" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_5" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 5 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_6" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 6 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_7" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 7 );
				}
				if ( ( localvarstring( "ui_challenge_ref" ) == "ch_expert_" + localvarstring( "ui_weapon_ref" ) + "_8" ) )
				{
					setLocalVarString "ui_challenge_ref" ( "ch_expert_" + localvarstring( "ui_weapon_ref" ) );
					setLocalVarInt "ui_challenge_state" ( 8 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setLocalVarString "tempName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setPlayerData( "camoNew" , "localVarString" ( "tempName" ) , "orange_fall" , "false" ) ;;
			}
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 1 && getplayerdata( "camoNew" , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , "orange_fall" ) )
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( 1 && !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + "orange_fall" ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 2 ) )
		}
		itemDef
		{
			rect -56 24 -300 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) )
		}
		itemDef
		{
			rect -56 24 -300 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			textscale 0.55
			visible when ( localvarstring( "ui_selected_ref" ) == "none" )
			exp material ( "ui_camoskin_woodland" )
		}
		itemDef
		{
			rect -56 124 400 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 0.35
			background "black"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 124 400 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			text "@MPUI_UNLOCKED_BY_CHALLENGE_PRE"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
		itemDef
		{
			rect -56 124 400 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 20
			textscale 0.375
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -56 124 400 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 40
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGE_DETAILS"
			visible when ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + localvarstring( "ui_selected_ref" ) ) )
		}
	}
	menuDef
	{
		name "popup_cac_extra"
		rect -64 0 854 104 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_extra_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_extra_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 104 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 104 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_flash_grenade"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			exp text ( locstring( "@MPUI_N_XN" , "@" + tablelookup( "mp/statsTable.csv" , 4 , "flash_grenade" , 3 ) , int( tablelookup( "mp/statsTable.csv" , 4 , "flash_grenade" , 5 ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "flash_grenade" ) ;;
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "flash_grenade" , 3 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/statstable.csv" , 4 , "flash_grenade" , 7 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/statsTable.csv" , 4 , "flash_grenade" , 6 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cac_concussion_grenade"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			exp text ( locstring( "@MPUI_N_XN" , "@" + tablelookup( "mp/statsTable.csv" , 4 , "concussion_grenade" , 3 ) , int( tablelookup( "mp/statsTable.csv" , 4 , "concussion_grenade" , 5 ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "concussion_grenade" ) ;;
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "concussion_grenade" , 3 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/statstable.csv" , 4 , "concussion_grenade" , 7 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/statsTable.csv" , 4 , "concussion_grenade" , 6 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cac_smoke_grenade"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			exp text ( locstring( "@MPUI_N_XN" , "@" + tablelookup( "mp/statsTable.csv" , 4 , "smoke_grenade" , 3 ) , int( tablelookup( "mp/statsTable.csv" , 4 , "smoke_grenade" , 5 ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "smoke_grenade" ) ;;
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "smoke_grenade" , 3 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/statstable.csv" , 4 , "smoke_grenade" , 7 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/statsTable.csv" , 4 , "smoke_grenade" , 6 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( localvarstring( "ui_info_name" ) )
		}
		itemDef
		{
			rect 12 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( localvarstring( "ui_info_icon" ) )
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( "weaponRefString" + " " + "refString" ) )
			exp text ( localvarstring( "ui_info_desc" ) )
		}
	}
	menuDef
	{
		name "popup_cac_equipment"
		rect -64 0 854 164 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_equipment_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_equipment_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "frag_grenade_mp" )
			{
				setfocus "cac_perk_frag_grenade_mp";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "semtex_mp" )
			{
				setfocus "cac_perk_semtex_mp";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "throwingknife_mp" )
			{
				setfocus "cac_perk_throwingknife_mp";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_tacticalinsertion" )
			{
				setfocus "cac_perk_specialty_tacticalinsertion";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_blastshield" )
			{
				setfocus "cac_perk_specialty_blastshield";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "claymore_mp" )
			{
				setfocus "cac_perk_claymore_mp";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "c4_mp" )
			{
				setfocus "cac_perk_c4_mp";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 164 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 164 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_perk_frag_grenade_mp"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "frag_grenade_mp" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "frag_grenade_mp" , "false" );
				if ( "frag_grenade_mp" != "specialty_bling" )
				{
					close self;
				}
				if ( 0 == 1 && "frag_grenade_mp" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 0 == 1 && "frag_grenade_mp" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 1 && "frag_grenade_mp" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "frag_grenade_mp" );
				}
				if ( 0 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "frag_grenade_mp" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "frag_grenade_mp" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "frag_grenade_mp" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "frag_grenade_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "frag_grenade_mp" ) )
		}
		itemDef
		{
			name "cac_perk_semtex_mp"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "semtex_mp" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "semtex_mp" , "false" );
				if ( "semtex_mp" != "specialty_bling" )
				{
					close self;
				}
				if ( 0 == 1 && "semtex_mp" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 0 == 1 && "semtex_mp" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 1 && "semtex_mp" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "semtex_mp" );
				}
				if ( 0 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "semtex_mp" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "semtex_mp" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "semtex_mp" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "semtex_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "semtex_mp" ) )
		}
		itemDef
		{
			name "cac_perk_throwingknife_mp"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "throwingknife_mp" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "throwingknife_mp" , "false" );
				if ( "throwingknife_mp" != "specialty_bling" )
				{
					close self;
				}
				if ( 0 == 1 && "throwingknife_mp" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 0 == 1 && "throwingknife_mp" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 1 && "throwingknife_mp" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "throwingknife_mp" );
				}
				if ( 0 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "throwingknife_mp" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "throwingknife_mp" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "throwingknife_mp" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "throwingknife_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "throwingknife_mp" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_tacticalinsertion"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_tacticalinsertion" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_tacticalinsertion" , "false" );
				if ( "specialty_tacticalinsertion" != "specialty_bling" )
				{
					close self;
				}
				if ( 0 == 1 && "specialty_tacticalinsertion" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 0 == 1 && "specialty_tacticalinsertion" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 1 && "specialty_tacticalinsertion" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_tacticalinsertion" );
				}
				if ( 0 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_tacticalinsertion" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_tacticalinsertion" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_tacticalinsertion" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_tacticalinsertion" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_tacticalinsertion" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_blastshield"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_blastshield" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_blastshield" , "false" );
				if ( "specialty_blastshield" != "specialty_bling" )
				{
					close self;
				}
				if ( 0 == 1 && "specialty_blastshield" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 0 == 1 && "specialty_blastshield" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 1 && "specialty_blastshield" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_blastshield" );
				}
				if ( 0 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_blastshield" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_blastshield" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_blastshield" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_blastshield" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_blastshield" ) )
		}
		itemDef
		{
			name "cac_perk_claymore_mp"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "claymore_mp" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "claymore_mp" , "false" );
				if ( "claymore_mp" != "specialty_bling" )
				{
					close self;
				}
				if ( 0 == 1 && "claymore_mp" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 0 == 1 && "claymore_mp" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 1 && "claymore_mp" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "claymore_mp" );
				}
				if ( 0 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "claymore_mp" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "claymore_mp" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "claymore_mp" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "claymore_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "claymore_mp" ) )
		}
		itemDef
		{
			name "cac_perk_c4_mp"
			rect -64 124 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "c4_mp" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "c4_mp" , "false" );
				if ( "c4_mp" != "specialty_bling" )
				{
					close self;
				}
				if ( 0 == 1 && "c4_mp" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 0 == 1 && "c4_mp" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 1 && "c4_mp" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 0 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "c4_mp" );
				}
				if ( 0 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "c4_mp" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "c4_mp" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "c4_mp" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "c4_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "c4_mp" ) )
		}
		itemDef
		{
			rect -56 0 200 164 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
			visible when ( !dvarbool( "wideScreen" ) )
		}
		itemDef
		{
			rect -136 0 360 164 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
			visible when ( dvarbool( "wideScreen" ) )
		}
		itemDef
		{
			rect -56 0 200 164 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 2 ) )
		}
		itemDef
		{
			rect -56 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 0 200 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) )
		}
		itemDef
		{
			rect -56 0 200 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
	}
	menuDef
	{
		name "popup_cac_perk1"
		rect -64 0 854 164 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_perk1_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		execKey "BUTTON_X"
		{
			if ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && !isitemunlocked( localvarstring( "ui_upgrade_ref" ) ) )
			{
				open "menu_challenge_detail_popup";
			}
		}
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_perk1_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_marathon" )
			{
				setfocus "cac_perk_specialty_marathon";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_fastreload" )
			{
				setfocus "cac_perk_specialty_fastreload";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_scavenger" )
			{
				setfocus "cac_perk_specialty_scavenger";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
			{
				setfocus "cac_perk_specialty_onemanarmy";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 164 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 164 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_marathon"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_marathon" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_marathon" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_marathon" != "specialty_bling" )
				{
					close self;
				}
				if ( 1 == 1 && "specialty_marathon" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 1 == 1 && "specialty_marathon" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 1 == 1 && "specialty_marathon" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 1 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_marathon" );
				}
				if ( 1 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "specialty_marathon" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_marathon" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_marathon" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_marathon" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_marathon" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_fastreload"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_fastreload" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_fastreload" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_fastreload" != "specialty_bling" )
				{
					close self;
				}
				if ( 1 == 1 && "specialty_fastreload" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 1 == 1 && "specialty_fastreload" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 1 == 1 && "specialty_fastreload" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 1 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_fastreload" );
				}
				if ( 1 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "specialty_fastreload" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_fastreload" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_fastreload" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_fastreload" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_fastreload" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_scavenger"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_scavenger" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_scavenger" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_scavenger" != "specialty_bling" )
				{
					close self;
				}
				if ( 1 == 1 && "specialty_scavenger" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 1 == 1 && "specialty_scavenger" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 1 == 1 && "specialty_scavenger" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 1 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_scavenger" );
				}
				if ( 1 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "specialty_scavenger" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_scavenger" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_scavenger" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_scavenger" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_scavenger" ) )
		}
		itemDef
		{
			name "cac_perk_bling"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_bling" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				if ( "specialty_bling" != "specialty_bling" )
				{
					close self;
				}
				if ( 1 == 1 && "specialty_bling" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 1 == 1 && "specialty_bling" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 1 == 1 && "specialty_bling" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 1 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_bling" );
				}
				if ( 1 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "specialty_bling" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				}
				open "popup_cac_bling";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_bling" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_bling" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_bling" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( ( isitemunlocked( "specialty_bling" ) == 0 ) )
		}
		itemDef
		{
			name "cac_perk_specialty_onemanarmy"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_onemanarmy" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_onemanarmy" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_onemanarmy" != "specialty_bling" )
				{
					close self;
				}
				if ( 1 == 1 && "specialty_onemanarmy" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 1 == 1 && "specialty_onemanarmy" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 1 == 1 && "specialty_onemanarmy" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 1 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_onemanarmy" );
				}
				if ( 1 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "specialty_onemanarmy" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_onemanarmy" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_onemanarmy" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_onemanarmy" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_onemanarmy" ) )
		}
		itemDef
		{
			rect 208 0 336 164 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -56 0 160 164 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			exp forecolor a ( 1 - ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) * 0.35 ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 2 ) )
		}
		itemDef
		{
			rect -56 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 0 152 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) )
		}
		itemDef
		{
			rect -56 0 152 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 0.85 0.4 0.4 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 131
			textscale 0.375
			textstyle 8
			text "@MPUI_REPLACES_SECONDARY"
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			visible when ( localvarstring( "ui_selected_ref" ) == "specialty_onemanarmy" )
		}
		itemDef
		{
			rect -56 0 152 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalign 4
			textscale 0.375
			exp forecolor a ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.35 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , int( 9 ) ) )
		}
		itemDef
		{
			rect 104 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp forecolor r ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.45 ) )
			exp forecolor g ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.45 ) )
			exp forecolor b ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.45 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 104 20 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) && tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
		itemDef
		{
			rect 104 20 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) , 4 ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			text "@MPUI_UNLOCKED_BY_CHALLENGE"
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 102
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) && 0 )
			exp text ( localvarstring( "ui_challengeName" ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 102
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGE_DETAILS"
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && isitemunlocked( localvarstring( "ui_selected_ref" ) ) && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
		}
		itemDef
		{
			rect 32 20 16 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "summary_arrow"
			textscale 0.55
			exp rect x ( 96 - ( dvarbool( "wideScreen" ) * 24 ) )
			exp forecolor a ( 0.3 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.15 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
		itemDef
		{
			rect 48 20 16 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "summary_arrow"
			textscale 0.55
			exp rect x ( 112 - ( dvarbool( "wideScreen" ) * 24 ) )
			exp forecolor a ( 0.5 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.25 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
		itemDef
		{
			rect 64 20 16 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.35
			background "summary_arrow"
			textscale 0.55
			exp rect x ( 128 - ( dvarbool( "wideScreen" ) * 24 ) )
			exp forecolor a ( 0.7 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.35 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
	}
	menuDef
	{
		name "popup_cac_perk2"
		rect -64 0 854 164 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_perk2_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		execKey "BUTTON_X"
		{
			if ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && !isitemunlocked( localvarstring( "ui_upgrade_ref" ) ) )
			{
				open "menu_challenge_detail_popup";
			}
		}
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_perk2_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bulletdamage" )
			{
				setfocus "cac_perk_specialty_bulletdamage";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_lightweight" )
			{
				setfocus "cac_perk_specialty_lightweight";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_hardline" )
			{
				setfocus "cac_perk_specialty_hardline";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_coldblooded" )
			{
				setfocus "cac_perk_specialty_coldblooded";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_explosivedamage" )
			{
				setfocus "cac_perk_specialty_explosivedamage";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 164 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 164 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_bulletdamage"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_bulletdamage" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_bulletdamage" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_bulletdamage" != "specialty_bling" )
				{
					close self;
				}
				if ( 2 == 1 && "specialty_bulletdamage" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 2 == 1 && "specialty_bulletdamage" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 2 == 1 && "specialty_bulletdamage" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 2 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_bulletdamage" );
				}
				if ( 2 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "specialty_bulletdamage" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_bulletdamage" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_bulletdamage" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_bulletdamage" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_bulletdamage" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_lightweight"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_lightweight" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_lightweight" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_lightweight" != "specialty_bling" )
				{
					close self;
				}
				if ( 2 == 1 && "specialty_lightweight" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 2 == 1 && "specialty_lightweight" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 2 == 1 && "specialty_lightweight" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 2 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_lightweight" );
				}
				if ( 2 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "specialty_lightweight" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_lightweight" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_lightweight" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_lightweight" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_lightweight" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_hardline"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_hardline" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_hardline" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_hardline" != "specialty_bling" )
				{
					close self;
				}
				if ( 2 == 1 && "specialty_hardline" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 2 == 1 && "specialty_hardline" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 2 == 1 && "specialty_hardline" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 2 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_hardline" );
				}
				if ( 2 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "specialty_hardline" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_hardline" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_hardline" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_hardline" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_hardline" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_coldblooded"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_coldblooded" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_coldblooded" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_coldblooded" != "specialty_bling" )
				{
					close self;
				}
				if ( 2 == 1 && "specialty_coldblooded" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 2 == 1 && "specialty_coldblooded" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 2 == 1 && "specialty_coldblooded" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 2 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_coldblooded" );
				}
				if ( 2 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "specialty_coldblooded" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_coldblooded" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_coldblooded" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_coldblooded" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_coldblooded" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_explosivedamage"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_explosivedamage" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_explosivedamage" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_explosivedamage" != "specialty_bling" )
				{
					close self;
				}
				if ( 2 == 1 && "specialty_explosivedamage" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 2 == 1 && "specialty_explosivedamage" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 2 == 1 && "specialty_explosivedamage" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 2 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_explosivedamage" );
				}
				if ( 2 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "specialty_explosivedamage" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_explosivedamage" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_explosivedamage" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_explosivedamage" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_explosivedamage" ) )
		}
		itemDef
		{
			rect 208 0 336 164 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -56 0 160 164 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			exp forecolor a ( 1 - ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) * 0.35 ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 2 ) )
		}
		itemDef
		{
			rect -56 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 0 152 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) )
		}
		itemDef
		{
			rect -56 0 152 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 0.85 0.4 0.4 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 131
			textscale 0.375
			textstyle 8
			text "@MPUI_REPLACES_SECONDARY"
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			visible when ( localvarstring( "ui_selected_ref" ) == "specialty_onemanarmy" )
		}
		itemDef
		{
			rect -56 0 152 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalign 4
			textscale 0.375
			exp forecolor a ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.35 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , int( 9 ) ) )
		}
		itemDef
		{
			rect 104 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp forecolor r ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.45 ) )
			exp forecolor g ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.45 ) )
			exp forecolor b ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.45 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 104 20 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) && tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
		itemDef
		{
			rect 104 20 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) , 4 ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			text "@MPUI_UNLOCKED_BY_CHALLENGE"
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 102
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) && 0 )
			exp text ( localvarstring( "ui_challengeName" ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 102
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGE_DETAILS"
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && isitemunlocked( localvarstring( "ui_selected_ref" ) ) && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
		}
		itemDef
		{
			rect 32 20 16 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "summary_arrow"
			textscale 0.55
			exp rect x ( 96 - ( dvarbool( "wideScreen" ) * 24 ) )
			exp forecolor a ( 0.3 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.15 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
		itemDef
		{
			rect 48 20 16 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "summary_arrow"
			textscale 0.55
			exp rect x ( 112 - ( dvarbool( "wideScreen" ) * 24 ) )
			exp forecolor a ( 0.5 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.25 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
		itemDef
		{
			rect 64 20 16 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.35
			background "summary_arrow"
			textscale 0.55
			exp rect x ( 128 - ( dvarbool( "wideScreen" ) * 24 ) )
			exp forecolor a ( 0.7 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.35 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
	}
	menuDef
	{
		name "popup_cac_perk3"
		rect -64 0 854 164 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_perk3_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		execKey "BUTTON_X"
		{
			if ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && !isitemunlocked( localvarstring( "ui_upgrade_ref" ) ) )
			{
				open "menu_challenge_detail_popup";
			}
		}
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_perk3_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_extendedmelee" )
			{
				setfocus "cac_perk_specialty_extendedmelee";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bulletaccuracy" )
			{
				setfocus "cac_perk_specialty_bulletaccuracy";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_localjammer" )
			{
				setfocus "cac_perk_specialty_localjammer";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_heartbreaker" )
			{
				setfocus "cac_perk_specialty_heartbreaker";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_detectexplosive" )
			{
				setfocus "cac_perk_specialty_detectexplosive";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_pistoldeath" )
			{
				setfocus "cac_perk_specialty_pistoldeath";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 164 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 164 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_extendedmelee"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_extendedmelee" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_extendedmelee" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_extendedmelee" != "specialty_bling" )
				{
					close self;
				}
				if ( 3 == 1 && "specialty_extendedmelee" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 3 == 1 && "specialty_extendedmelee" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 1 && "specialty_extendedmelee" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_extendedmelee" );
				}
				if ( 3 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "specialty_extendedmelee" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_extendedmelee" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_extendedmelee" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_extendedmelee" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_extendedmelee" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_bulletaccuracy"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_bulletaccuracy" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_bulletaccuracy" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_bulletaccuracy" != "specialty_bling" )
				{
					close self;
				}
				if ( 3 == 1 && "specialty_bulletaccuracy" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 3 == 1 && "specialty_bulletaccuracy" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 1 && "specialty_bulletaccuracy" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_bulletaccuracy" );
				}
				if ( 3 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "specialty_bulletaccuracy" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_bulletaccuracy" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_bulletaccuracy" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_bulletaccuracy" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_bulletaccuracy" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_localjammer"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_localjammer" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_localjammer" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_localjammer" != "specialty_bling" )
				{
					close self;
				}
				if ( 3 == 1 && "specialty_localjammer" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 3 == 1 && "specialty_localjammer" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 1 && "specialty_localjammer" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_localjammer" );
				}
				if ( 3 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "specialty_localjammer" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_localjammer" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_localjammer" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_localjammer" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_localjammer" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_heartbreaker"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_heartbreaker" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_heartbreaker" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_heartbreaker" != "specialty_bling" )
				{
					close self;
				}
				if ( 3 == 1 && "specialty_heartbreaker" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 3 == 1 && "specialty_heartbreaker" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 1 && "specialty_heartbreaker" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_heartbreaker" );
				}
				if ( 3 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "specialty_heartbreaker" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_heartbreaker" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_heartbreaker" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_heartbreaker" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_heartbreaker" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_detectexplosive"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_detectexplosive" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_detectexplosive" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_detectexplosive" != "specialty_bling" )
				{
					close self;
				}
				if ( 3 == 1 && "specialty_detectexplosive" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 3 == 1 && "specialty_detectexplosive" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 1 && "specialty_detectexplosive" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_detectexplosive" );
				}
				if ( 3 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "specialty_detectexplosive" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_detectexplosive" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_detectexplosive" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_detectexplosive" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_detectexplosive" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_pistoldeath"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_pistoldeath" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) * ( 9 - 2 ) ) ) ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_pistoldeath" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
				if ( "specialty_pistoldeath" != "specialty_bling" )
				{
					close self;
				}
				if ( 3 == 1 && "specialty_pistoldeath" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 3 == 1 && "specialty_pistoldeath" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 1 && "specialty_pistoldeath" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 3 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_pistoldeath" );
				}
				if ( 3 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "specialty_pistoldeath" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_pistoldeath" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 4 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_pistoldeath" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_pistoldeath" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_pistoldeath" ) )
		}
		itemDef
		{
			rect 208 0 336 164 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -56 0 160 164 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			exp forecolor a ( 1 - ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) * 0.35 ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 2 ) )
		}
		itemDef
		{
			rect -56 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 0 152 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) )
		}
		itemDef
		{
			rect -56 0 152 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 0.85 0.4 0.4 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 131
			textscale 0.375
			textstyle 8
			text "@MPUI_REPLACES_SECONDARY"
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			visible when ( localvarstring( "ui_selected_ref" ) == "specialty_onemanarmy" )
		}
		itemDef
		{
			rect -56 0 152 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			exp rect x ( 8 - ( dvarbool( "wideScreen" ) * 48 ) )
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalign 4
			textscale 0.375
			exp forecolor a ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.35 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , int( 9 ) ) )
		}
		itemDef
		{
			rect 104 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp forecolor r ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.45 ) )
			exp forecolor g ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.45 ) )
			exp forecolor b ( 1 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.45 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 104 20 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) && tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
		itemDef
		{
			rect 104 20 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) , 4 ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			text "@MPUI_UNLOCKED_BY_CHALLENGE"
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 102
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) && 0 )
			exp text ( localvarstring( "ui_challengeName" ) )
		}
		itemDef
		{
			rect 104 0 160 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textaligny 102
			textscale 0.375
			text "@PLATFORM_VIEW_CHALLENGE_DETAILS"
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" && isitemunlocked( localvarstring( "ui_selected_ref" ) ) && !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) )
		}
		itemDef
		{
			rect 32 20 16 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "summary_arrow"
			textscale 0.55
			exp rect x ( 96 - ( dvarbool( "wideScreen" ) * 24 ) )
			exp forecolor a ( 0.3 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.15 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
		itemDef
		{
			rect 48 20 16 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "summary_arrow"
			textscale 0.55
			exp rect x ( 112 - ( dvarbool( "wideScreen" ) * 24 ) )
			exp forecolor a ( 0.5 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.25 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
		itemDef
		{
			rect 64 20 16 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.35
			background "summary_arrow"
			textscale 0.55
			exp rect x ( 128 - ( dvarbool( "wideScreen" ) * 24 ) )
			exp forecolor a ( 0.7 - ( !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) ) * 0.35 ) )
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 8 ) != "specialty_null" )
		}
	}
	menuDef
	{
		name "popup_cac_deathstreak"
		rect -64 0 854 164 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_deathstreak_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_deathstreak_tabDepth" ( localvarint( "ui_tabDepth" ) );
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_copycat" )
			{
				setfocus "cac_perk_specialty_copycat";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_combathigh" )
			{
				setfocus "cac_perk_specialty_combathigh";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_grenadepulldeath" )
			{
				setfocus "cac_perk_specialty_grenadepulldeath";
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_finalstand" )
			{
				setfocus "cac_perk_specialty_finalstand";
			}
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 164 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 7 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 164 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_copycat"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_copycat" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_copycat" , "false" );
				if ( "specialty_copycat" != "specialty_bling" )
				{
					close self;
				}
				if ( 4 == 1 && "specialty_copycat" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 4 == 1 && "specialty_copycat" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 4 == 1 && "specialty_copycat" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 4 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_copycat" );
				}
				if ( 4 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_copycat" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_copycat" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_copycat" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_copycat" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_copycat" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_combathigh"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_combathigh" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_combathigh" , "false" );
				if ( "specialty_combathigh" != "specialty_bling" )
				{
					close self;
				}
				if ( 4 == 1 && "specialty_combathigh" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 4 == 1 && "specialty_combathigh" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 4 == 1 && "specialty_combathigh" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 4 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_combathigh" );
				}
				if ( 4 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_combathigh" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_combathigh" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_combathigh" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_combathigh" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_combathigh" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_grenadepulldeath"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_grenadepulldeath" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_grenadepulldeath" , "false" );
				if ( "specialty_grenadepulldeath" != "specialty_bling" )
				{
					close self;
				}
				if ( 4 == 1 && "specialty_grenadepulldeath" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 4 == 1 && "specialty_grenadepulldeath" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 4 == 1 && "specialty_grenadepulldeath" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 4 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_grenadepulldeath" );
				}
				if ( 4 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_grenadepulldeath" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_grenadepulldeath" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_grenadepulldeath" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_grenadepulldeath" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_grenadepulldeath" ) )
		}
		itemDef
		{
			name "cac_perk_specialty_finalstand"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_finalstand" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 2 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "perkNew" , "specialty_finalstand" , "false" );
				if ( "specialty_finalstand" != "specialty_bling" )
				{
					close self;
				}
				if ( 4 == 1 && "specialty_finalstand" != "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
				}
				if ( 4 == 1 && "specialty_finalstand" == "specialty_onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "onemanarmy" );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "none" );
					; setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" ) ;;
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 4 == 1 && "specialty_finalstand" != "specialty_onemanarmy" && getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "onemanarmy" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "glock" );
					if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
					{
						setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
					}
					setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
					setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
					setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
					setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
					setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
					if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
					{
						setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
					}
					setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
					setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
					setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
					setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
					setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
					setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
					setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
					setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
					setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
					setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
					setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
				}
				if ( 4 == 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_finalstand" );
				}
				if ( 4 != 4 )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "specialty_finalstand" );
				}
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "specialty_finalstand" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) );
				setLocalVarString "ui_challenge_ref" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) );
				setLocalVarString "ui_challenge_state" ( 1 );
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_2" )
				{
					setLocalVarInt "ui_challenge_state" ( 2 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_3" )
				{
					setLocalVarInt "ui_challenge_state" ( 3 );
				}
				if ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_upgrade_ref" ) , 3 ) ) == localvarstring( "ui_challenge_ref" ) + "_4" )
				{
					setLocalVarInt "ui_challenge_state" ( 4 );
				}
				setLocalVarString "ui_challengeName" ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
				setPlayerData( "perkNew" , "specialty_finalstand" , "false" );
				setLocalVarString "ui_upgrade_ref" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) );
				setPlayerData( "perkNew" , "localVarString" ( "ui_upgrade_ref" ) , "false" );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "perkNew" , "specialty_finalstand" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_finalstand" ) )
		}
		itemDef
		{
			rect -56 0 200 164 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
			visible when ( !dvarbool( "wideScreen" ) )
		}
		itemDef
		{
			rect -136 0 360 164 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
			visible when ( dvarbool( "wideScreen" ) )
		}
		itemDef
		{
			rect -56 0 200 164 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 2 ) )
		}
		itemDef
		{
			rect -56 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 0 200 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) + locstring( "@PERKS_DEATHS_WITHOUT_KILL" , int( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 6 ) ) ) )
		}
		itemDef
		{
			rect -56 0 200 164 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
	}
	menuDef
	{
		name "popup_cac_bling"
		rect -64 0 854 124 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_cac_bling_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_cac_bling_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 124 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 124 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "cac_specialty_bling_primary"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "riotshield" )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) , 3 ) );
				}
				open "popup_primary_attachments_bling";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 2 ) );
				setLocalVarString "ui_info_desc" ( "@MENU_BLING_PRIMARY_DESC" );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 3 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cac_specialty_bling_secondary"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "specialty_secondarybling" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) , 3 ) );
				}
				open "popup_secondary_attachments_bling";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/perkTable.csv" , 1 , "specialty_secondarybling" , 2 ) );
				setLocalVarString "ui_info_desc" ( "@MENU_BLING_SECONDARY_DESC" );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 3 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( localvarstring( "ui_info_name" ) )
		}
		itemDef
		{
			rect 12 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( localvarstring( "ui_info_icon" ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( "weaponRefString" + " " + "refString" ) )
			exp text ( localvarstring( "ui_info_desc" ) )
		}
	}
	menuDef
	{
		name "menu_cac_clearance"
		rect 0 0 640 480 0 0
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		blurWorld 5
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onClose
		{
			if ( dvarbool( "splitscreen" ) )
			{
				execnow "splitscreencontrols";
			}
		}
		onEsc
		{
			execnow "uploadstats";
			close self;
		}
		itemDef
		{
			rect -107 0 854 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "animbg_blur_back"
			textscale 0.55
		}
		itemDef
		{
			rect -107 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "animbg_blur_fogscroll"
			textscale 0.55
			exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -107 0 854 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "animbg_blur_front"
			textscale 0.55
		}
		itemDef
		{
			rect 48 40 0 0 0 0
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalign 4
			textscale 0.5833
			textstyle 6
			exp text ( "@MPUI_PLAYERCARD" )
		}
		itemDef
		{
			rect -120 0 420 68 0 0
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 0.95 0.175
			background "white"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 300 0 16 -68 0 0
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 0.95 0.175
			background "button_highlight_end"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -120 414 1200 64 0 0
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 0.95 0.175
			background "white"
			textscale 0.55
			visible when ( 1 && 0 )
		}
		itemDef
		{
			rect -120 416 420 64 0 0
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 0.95 0.175
			background "white"
			textscale 0.55
			visible when ( 1 && ( 0 == 0 ) )
		}
		itemDef
		{
			rect 300 416 16 64 0 0
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 0.95 0.175
			background "button_highlight_end"
			textscale 0.55
			visible when ( 1 && ( 0 == 0 ) )
		}
		itemDef
		{
			rect 316 432 440 64 0 0
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 0.95 0.175
			background "white"
			textscale 0.55
			visible when ( 1 && ( 0 == 0 ) )
		}
		itemDef
		{
			name "change_filter"
			rect 90 -4 0 0 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@PLATFORM_CHANGE_FILTER"
			visible when ( 0 )
			execKey "BUTTON_Y"
			{
				play "mouse_click";
				execnow "toggle lb_filter 0 1";
			}
		}
		itemDef
		{
			name "goto_top"
			rect -40 -4 0 0 2 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 1
			textscale 0.375
			text "@PLATFORM_GOTOTOP"
			visible when ( 0 )
		}
		itemDef
		{
			name "accept_button"
			rect 44 -4 0 0 2 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 1
			textscale 0.375
			text "@PLATFORM_SELECT"
			visible when ( 0 )
		}
		itemDef
		{
			name "refresh"
			rect -20 -4 0 0 2 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@PLATFORM_REFRESH"
			visible when ( 0 )
		}
		itemDef
		{
			name "pgup"
			rect -180 -4 0 0 3 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@PLATFORM_PGUP"
			visible when ( 0 )
		}
		itemDef
		{
			name "pgdown"
			rect -90 -4 0 0 3 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@PLATFORM_PGDOWN"
			visible when ( 0 )
		}
		itemDef
		{
			rect 0 -20 16 16 1 3
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ui_arrow_left"
			textscale 0.55
		}
		itemDef
		{
			rect 18 -4 0 0 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 12
			textscale 0.375
			text "@PLATFORM_BACK"
			visible when ( ( !menuisopen( "menu_cac_assault" ) && !menuisopen( "menu_cac_heavygunner" ) && !menuisopen( "menu_cac_sniper" ) && !menuisopen( "menu_cac_specops" ) && !menuisopen( "menu_cac_demolitions" ) ) )
		}
		itemDef
		{
			rect 18 -4 0 0 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 12
			textscale 0.375
			text "@PLATFORM_SAVECUSTOMMODE"
			visible when ( ( menuisopen( "menu_cac_assault" ) || menuisopen( "menu_cac_heavygunner" ) || menuisopen( "menu_cac_sniper" ) || menuisopen( "menu_cac_specops" ) || menuisopen( "menu_cac_demolitions" ) ) )
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 0.5
			textfont 1
			textscale 0.375
			dvar "party_statusString"
			visible when ( dvarint( "party_timerVisible" ) == 0 && !dvarint( "xblive_privatematch" ) )
		}
		itemDef
		{
			rect 390 64 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 0.5
			textfont 1
			textscale 0.375
			text "@MENU_MATCH_BEGINNING_IN"
			visible when ( dvarint( "party_timerVisible" ) == 1 && !dvarint( "xblive_privatematch" ) )
		}
		itemDef
		{
			rect 520 64 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 0.5
			textfont 1
			textscale 0.375
			dvar "party_timer"
			visible when ( dvarint( "party_timerVisible" ) == 1 && !dvarint( "xblive_privatematch" ) )
		}
		itemDef
		{
			rect 0 34 218.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			visible when ( 1 )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 218.5 34 5.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 34 218.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.35
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" && 1 )
		}
		itemDef
		{
			rect 218.5 34 5.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.35
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" && 1 )
		}
		itemDef
		{
			rect -4 35 224 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.33
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" && 1 )
		}
		itemDef
		{
			rect 0 34 224 22 1 1
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -26
			textscale 0.4583
			textstyle 6
			visible when ( isitemunlocked( "playercard_title" ) )
			exp text ( "@MPUI_PLAYERCARD_TITLE" )
			action
			{
				play "mouse_click";
				if ( isitemunlocked( "playercard_title" ) )
				{
					open "menu_playercard_title_popup";
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarInt "ui_highlight" ( 1 );
				setLocalVarString "ui_choicegroup" ( "" );
				if ( isitemunlocked( "playercard_title" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_TITLE" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_title" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_title" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "playercard_title" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect 0 34 224 22 1 1
			visible 1
			forecolor 1 1 1 1
			type 1
			textscale 0.55
			visible when ( ( isitemunlocked( "playercard_title" ) ) == 0 )
			action
			{
				play "mouse_click";
				;;
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarInt "ui_highlight" ( 1 );
				setLocalVarString "ui_choicegroup" ( "" );
				if ( isitemunlocked( "playercard_title" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_TITLE" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_title" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_title" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "playercard_title" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect 0 34 224 22 1 1
			decoration
			visible 1
			forecolor 0.5 0.5 0.5 0.5
			textfont 1
			textalign 10
			textalignx -26
			textscale 0.4583
			textstyle 6
			visible when ( ( isitemunlocked( "playercard_title" ) ) == 0 )
			exp text ( "@MPUI_PLAYERCARD_TITLE" )
		}
		itemDef
		{
			rect 0 58 218.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			visible when ( 1 )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 218.5 58 5.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 58 218.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.35
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" && 1 )
		}
		itemDef
		{
			rect 218.5 58 5.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.35
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" && 1 )
		}
		itemDef
		{
			rect -4 59 224 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.33
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" && 1 )
		}
		itemDef
		{
			rect 0 58 224 22 1 1
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -26
			textscale 0.4583
			textstyle 6
			visible when ( isitemunlocked( "playercard_icon" ) )
			exp text ( "@MPUI_PLAYERCARD_ICON" )
			action
			{
				play "mouse_click";
				if ( isitemunlocked( "playercard_icon" ) )
				{
					open "menu_playercard_icon_popup";
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarInt "ui_highlight" ( 2 );
				setLocalVarString "ui_choicegroup" ( "" );
				if ( isitemunlocked( "playercard_icon" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_ICON" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_icon" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_icon" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "playercard_icon" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect 0 58 224 22 1 1
			visible 1
			forecolor 1 1 1 1
			type 1
			textscale 0.55
			visible when ( ( isitemunlocked( "playercard_icon" ) ) == 0 )
			action
			{
				play "mouse_click";
				;;
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarInt "ui_highlight" ( 2 );
				setLocalVarString "ui_choicegroup" ( "" );
				if ( isitemunlocked( "playercard_icon" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_ICON" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_icon" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_icon" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "playercard_icon" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect 0 58 224 22 1 1
			decoration
			visible 1
			forecolor 0.5 0.5 0.5 0.5
			textfont 1
			textalign 10
			textalignx -26
			textscale 0.4583
			textstyle 6
			visible when ( ( isitemunlocked( "playercard_icon" ) ) == 0 )
			exp text ( "@MPUI_PLAYERCARD_ICON" )
		}
		itemDef
		{
			rect 0 82 218.5 8 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "gradient_fadein"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 92 218.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			visible when ( isitemunlocked( "cac" ) )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 218.5 92 5.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
			visible when ( isitemunlocked( "cac" ) )
		}
		itemDef
		{
			rect 0 92 218.5 22 1 1
			style 3
			bordersize 2
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.35
			bordercolor 0.8 0.95 1 0.4
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" )
		}
		itemDef
		{
			rect 218.5 92 5.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.35
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" )
		}
		itemDef
		{
			rect -4 93 224 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.33
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" && isitemunlocked( "cac" ) )
		}
		itemDef
		{
			rect 0 92 224 22 1 1
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -26
			textscale 0.4583
			textstyle 6
			visible when ( isitemunlocked( "cac" ) )
			exp text ( "@MPUI_CREATE_A_CLASS" )
			action
			{
				play "mouse_click";
				open "live_cac_popup" ;;
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarInt "ui_highlight" ( 3 );
				setLocalVarString "ui_choicegroup" ( "" );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_A_CLASS" );
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect 0 92 224 22 1 1
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -26
			textscale 0.4583
			textstyle 6
			visible when ( isitemunlocked( "cac" ) == 0 )
			exp text ( "" )
			action
			{
				play "mouse_click";
				;;
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarInt "ui_highlight" ( 3 );
				setLocalVarString "ui_choicegroup" ( "" );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_A_CLASS_LOCKED" );
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect 0 92 218.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			visible when ( isitemunlocked( "cac" ) == 0 )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 218.5 92 5.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
			visible when ( isitemunlocked( "cac" ) == 0 )
		}
		itemDef
		{
			rect 0 92 224 22 1 1
			decoration
			visible 1
			forecolor 0.5 0.5 0.5 0.5
			textfont 1
			textalign 10
			textalignx -26
			textscale 0.4583
			textstyle 6
			visible when ( isitemunlocked( "cac" ) == 0 )
			exp text ( "@MPUI_CREATE_A_CLASS" )
		}
		itemDef
		{
			rect 226 94 44 22 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "weaponNew" ) || getplayerdataanybooltrue( "camoNew" ) || getplayerdataanybooltrue( "attachmentNew" ) ) || getplayerdataanybooltrue( "perkNew" ) || ( ( getplayerdata( "perkNew" , "frag_grenade_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "semtex_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "c4_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "claymore_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "throwingknife_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_tacticalinsertion" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_blastshield" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) || weaponclassnew( "weapon_grenade" ) || weaponclassnew( "weapon_equipment" ) ) || getplayerdata( "featureNew" , "cac" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			rect 0 116 218.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			visible when ( 1 )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 218.5 116 5.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 116 218.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.35
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "" && 1 )
		}
		itemDef
		{
			rect 218.5 116 5.5 22 1 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.35
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "" && 1 )
		}
		itemDef
		{
			rect -4 117 224 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.33
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "" && 1 )
		}
		itemDef
		{
			rect 0 116 224 22 1 1
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -26
			textscale 0.4583
			textstyle 6
			visible when ( isitemunlocked( "cas" ) )
			exp text ( "@MPUI_KILLSTREAK_REWARDS" )
			action
			{
				play "mouse_click";
				if ( isitemunlocked( "cas" ) )
				{
					open "menu_cas_popup";
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarInt "ui_highlight" ( 4 );
				setLocalVarString "ui_choicegroup" ( "" );
				if ( isitemunlocked( "cas" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_KILLSTREAK_REWARDS" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "cas" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "cas" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "cas" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect 0 116 224 22 1 1
			visible 1
			forecolor 1 1 1 1
			type 1
			textscale 0.55
			visible when ( ( isitemunlocked( "cas" ) ) == 0 )
			action
			{
				play "mouse_click";
				;;
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarInt "ui_highlight" ( 4 );
				setLocalVarString "ui_choicegroup" ( "" );
				if ( isitemunlocked( "cas" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_KILLSTREAK_REWARDS" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "cas" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "cas" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "cas" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect 0 116 224 22 1 1
			decoration
			visible 1
			forecolor 0.5 0.5 0.5 0.5
			textfont 1
			textalign 10
			textalignx -26
			textscale 0.4583
			textstyle 6
			visible when ( ( isitemunlocked( "cas" ) ) == 0 )
			exp text ( "@MPUI_KILLSTREAK_REWARDS" )
		}
		itemDef
		{
			name "desc_arrow"
			rect 15 183 10 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ui_arrow_right"
			textscale 0.55
		}
		itemDef
		{
			name "description_choice"
			rect 27 180 210 36 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.7
			textaligny 16
			textscale 0.375
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 0 ) - ( 208 ) )
			exp rect y ( 36 + ( dvarint( "party_selectedIndex" ) * 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 ) - ( 208 ) )
			exp rect y ( 36 + ( dvarint( "party_selectedIndex" ) * 18 ) - 2 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 0 ) - ( 208 ) )
			exp rect y ( 36 + ( dvarint( "party_selectedIndex" ) * 18 ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 0 ) - ( 208 ) )
			exp rect y ( ( 36 + ( dvarint( "party_selectedIndex" ) * 18 ) ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 ) - ( 208 ) ) + 158 )
			exp rect y ( ( 36 + ( dvarint( "party_selectedIndex" ) * 18 ) ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect -270 120 270 68 10 8
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -270 120 270 68 10 8
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "gradient_center"
			textscale 0.55
		}
		itemDef
		{
			rect -52 124 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 0 ) , 14 ) )
		}
		itemDef
		{
			rect -270 120 270 68 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 6
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 0 ) , 2 ) )
		}
		itemDef
		{
			rect -270 120 222 68 10 8
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.6
			textfont 3
			textalign 4
			textalignx 6
			textaligny 20
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 0 ) , 3 ) )
		}
		itemDef
		{
			rect -52 120 48 68 10 8
			decoration
			visible 1
			forecolor 0.65 0.65 0.65 1
			textfont 3
			textalign 13
			textscale 0.375
			exp text ( int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 0 ) , 4 ) ) + " kills" )
		}
		itemDef
		{
			rect -270 192 270 68 10 8
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -270 192 270 68 10 8
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "gradient_center"
			textscale 0.55
		}
		itemDef
		{
			rect -52 196 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 1 ) , 14 ) )
		}
		itemDef
		{
			rect -270 192 270 68 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 6
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -270 192 222 68 10 8
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.6
			textfont 3
			textalign 4
			textalignx 6
			textaligny 20
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 1 ) , 3 ) )
		}
		itemDef
		{
			rect -52 192 48 68 10 8
			decoration
			visible 1
			forecolor 0.65 0.65 0.65 1
			textfont 3
			textalign 13
			textscale 0.375
			exp text ( int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 1 ) , 4 ) ) + " kills" )
		}
		itemDef
		{
			rect -270 264 270 68 10 8
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -270 264 270 68 10 8
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "gradient_center"
			textscale 0.55
		}
		itemDef
		{
			rect -52 268 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 2 ) , 14 ) )
		}
		itemDef
		{
			rect -270 264 270 68 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 6
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 2 ) , 2 ) )
		}
		itemDef
		{
			rect -270 264 222 68 10 8
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.6
			textfont 3
			textalign 4
			textalignx 6
			textaligny 20
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 2 ) , 3 ) )
		}
		itemDef
		{
			rect -52 264 48 68 10 8
			decoration
			visible 1
			forecolor 0.65 0.65 0.65 1
			textfont 3
			textalign 13
			textscale 0.375
			exp text ( int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 2 ) , 4 ) ) + " kills" )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_cas_popup"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		execKey "BUTTON_Y"
		{
			setLocalVarInt "ui_numStreaks" ( 0 );
			setLocalVarString "ui_streak1Name" ( "none" );
			setLocalVarString "ui_streak2Name" ( "none" );
			setLocalVarString "ui_streak3Name" ( "none" );
		}
		execKey "BUTTON_B"
		{
			if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
			{
				setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
				setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
				setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
			}
			if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
			{
				setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
				setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
				setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
			}
			if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
			{
				setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
				setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
				setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
			}
			if ( localvarstring( "ui_streak1Name" ) == "none" || localvarstring( "ui_streak2Name" ) == "none" || localvarstring( "ui_streak3Name" ) == "none" )
			{
				open "popup_needstreaks";
			}
			else
			{
				setPlayerData( "killstreaks" , 0 , "localVarString" ( "ui_streak1Name" ) );
				; setPlayerData( "killstreaks" , 1 , "localVarString" ( "ui_streak2Name" ) );
				; setPlayerData( "killstreaks" , 2 , "localVarString" ( "ui_streak3Name" ) );
				; execnow "uploadstats";
				close self;
			}
		}
		onOpen
		{
			setLocalVarInt "ui_unlockedStreaks" ( 0 );
			if ( getplayerdata( "killstreakUnlocked" , "uav" ) && "uav" != "uav" && "uav" != "airdrop" && "uav" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "airdrop" ) && "airdrop" != "uav" && "airdrop" != "airdrop" && "airdrop" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "counter_uav" ) && "counter_uav" != "uav" && "counter_uav" != "airdrop" && "counter_uav" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) && "airdrop_sentry_minigun" != "uav" && "airdrop_sentry_minigun" != "airdrop" && "airdrop_sentry_minigun" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "predator_missile" ) && "predator_missile" != "uav" && "predator_missile" != "airdrop" && "predator_missile" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) && "precision_airstrike" != "uav" && "precision_airstrike" != "airdrop" && "precision_airstrike" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) && "harrier_airstrike" != "uav" && "harrier_airstrike" != "airdrop" && "harrier_airstrike" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "helicopter" ) && "helicopter" != "uav" && "helicopter" != "airdrop" && "helicopter" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) && "airdrop_mega" != "uav" && "airdrop_mega" != "airdrop" && "airdrop_mega" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) && "helicopter_flares" != "uav" && "helicopter_flares" != "airdrop" && "helicopter_flares" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) && "stealth_airstrike" != "uav" && "stealth_airstrike" != "airdrop" && "stealth_airstrike" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) && "helicopter_minigun" != "uav" && "helicopter_minigun" != "airdrop" && "helicopter_minigun" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "ac130" ) && "ac130" != "uav" && "ac130" != "airdrop" && "ac130" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "emp" ) && "emp" != "uav" && "emp" != "airdrop" && "emp" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			if ( getplayerdata( "killstreakUnlocked" , "nuke" ) && "nuke" != "uav" && "nuke" != "airdrop" && "nuke" != "predator_missile" )
			{
				setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
			}
			setLocalVarInt "ui_numTokens" ( 0 );
			setLocalVarString "ui_nextToken" ( "" );
			if ( isitemunlocked( "token_1" ) )
			{
				setLocalVarInt "ui_numTokens" ( 1 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_1" );
				}
			}
			if ( isitemunlocked( "token_2" ) )
			{
				setLocalVarInt "ui_numTokens" ( 2 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_2" );
				}
			}
			if ( isitemunlocked( "token_3" ) )
			{
				setLocalVarInt "ui_numTokens" ( 3 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_3" );
				}
			}
			if ( isitemunlocked( "token_4" ) )
			{
				setLocalVarInt "ui_numTokens" ( 4 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_4" );
				}
			}
			if ( isitemunlocked( "token_5" ) )
			{
				setLocalVarInt "ui_numTokens" ( 5 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_5" );
				}
			}
			if ( isitemunlocked( "token_6" ) )
			{
				setLocalVarInt "ui_numTokens" ( 6 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_6" );
				}
			}
			if ( isitemunlocked( "token_7" ) )
			{
				setLocalVarInt "ui_numTokens" ( 7 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_7" );
				}
			}
			if ( isitemunlocked( "token_8" ) )
			{
				setLocalVarInt "ui_numTokens" ( 8 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_8" );
				}
			}
			if ( isitemunlocked( "token_9" ) )
			{
				setLocalVarInt "ui_numTokens" ( 9 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_9" );
				}
			}
			if ( isitemunlocked( "token_10" ) )
			{
				setLocalVarInt "ui_numTokens" ( 10 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_10" );
				}
			}
			if ( isitemunlocked( "token_11" ) )
			{
				setLocalVarInt "ui_numTokens" ( 11 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_11" );
				}
			}
			if ( isitemunlocked( "token_12" ) )
			{
				setLocalVarInt "ui_numTokens" ( 12 );
			}
			else
			{
				if ( localvarstring( "ui_nextToken" ) == "" )
				{
					setLocalVarString "ui_nextToken" ( "token_12" );
				}
			}
			setLocalVarInt "ui_numTokens" ( max( ( localvarint( "ui_numTokens" ) - localvarint( "ui_unlockedStreaks" ) ) , 0 ) );
			focusfirst;
			if ( int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 0 ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 1 ) , 4 ) ) && int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 0 ) , 4 ) ) )
			{
				setPlayerData( "killstreaks" , 1 , "none" ) ;;
			}
			if ( int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 0 ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 2 ) , 4 ) ) && int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 0 ) , 4 ) ) )
			{
				setPlayerData( "killstreaks" , 2 , "none" ) ;;
			}
			if ( int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 1 ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 2 ) , 4 ) ) && int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 1 ) , 4 ) ) )
			{
				setPlayerData( "killstreaks" , 2 , "none" ) ;;
			}
			setLocalVarInt "ui_numStreaks" ( 0 );
			setLocalVarString "ui_streak1Name" ( getplayerdata( "killstreaks" , 0 ) );
			setLocalVarString "ui_streak2Name" ( getplayerdata( "killstreaks" , 1 ) );
			setLocalVarString "ui_streak3Name" ( getplayerdata( "killstreaks" , 2 ) );
			if ( getplayerdata( "featureNew" , "cas" ) )
			{
				setPlayerData( "featureNew" , "cas" , "false" );
				open "popup_welcometocas";
			}
			if ( localvarstring( "ui_streak1Name" ) != "none" )
			{
				setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
			}
			if ( localvarstring( "ui_streak2Name" ) != "none" )
			{
				setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
			}
			if ( localvarstring( "ui_streak3Name" ) != "none" )
			{
				setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
			}
			if ( !localvarint( "ui_numTokens" ) )
			{
				setPlayerData( "featureNew" , "token_1" , "false" );
				setPlayerData( "featureNew" , "token_2" , "false" );
				setPlayerData( "featureNew" , "token_3" , "false" );
				setPlayerData( "featureNew" , "token_4" , "false" );
				setPlayerData( "featureNew" , "token_5" , "false" );
				setPlayerData( "featureNew" , "token_6" , "false" );
				setPlayerData( "featureNew" , "token_7" , "false" );
				setPlayerData( "featureNew" , "token_8" , "false" );
				setPlayerData( "featureNew" , "token_9" , "false" );
				setPlayerData( "featureNew" , "token_10" , "false" );
				setPlayerData( "featureNew" , "token_11" , "false" );
				setPlayerData( "featureNew" , "token_12" , "false" );
			}
			else
			{
				open "popup_tokensavailable";
			}
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 18 640 46 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textscale 0.45
			text "@MENU_KILLSTREAK_REWARDS_CAPS"
		}
		itemDef
		{
			rect 0 46 640 338 4 1
			style 3
			decoration
			visible 1
			forecolor 0.45 0.45 0.45 0.3
			background "white"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 14 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 14 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 14 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 46 32 338 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 384 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 384 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 384 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 46 32 338 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -320 46 320 338 3 1
			style 3
			decoration
			visible 1
			forecolor 0.2 0.2 0.2 1
			background "white"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -320 46 320 70 3 1
			decoration
			visible 1
			forecolor 1 0.8 0.3 1
			disablecolor 1 1 1 0.85
			textfont 9
			textalign 4
			textalignx 12
			textscale 0.5
			visible when ( 1 )
			disabled when ( !getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 2 ) )
		}
		itemDef
		{
			rect -320 46 320 70 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 12
			textaligny 20
			textscale 0.375
			exp text ( locstring( "@MPUI_N_KILLSTREAK" , int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
		}
		itemDef
		{
			rect -308 98 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			type 21
			textfont 3
			textalign 12
			textscale 0.375
			exp forecolor a ( 0.65 + ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) ) )
			visible when ( ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) ) || 1 )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -76 54 64 64 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( !( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) ) )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 14 ) + "_locked" )
		}
		itemDef
		{
			rect -76 54 64 64 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) ) )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 14 ) )
		}
		itemDef
		{
			rect -320 46 320 78 3 1
			decoration
			autowrapped
			visible 1
			forecolor 0.85 0.4 0.4 1
			textfont 3
			textalign 12
			textalignx 12
			textaligny 18
			textscale 0.375
			textstyle 8
			visible when ( ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) ) )
			exp text ( localvarstring( "ui_cas_hint" ) )
		}
		itemDef
		{
			rect -320 46 320 78 3 1
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			textfont 3
			textalign 12
			textalignx 12
			textaligny 18
			textscale 0.375
			textstyle 8
			visible when ( !( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) ) && localvarint( "ui_numTokens" ) )
			exp text ( "@PLATFORM_UNLOCK_KILLSTREAK" )
		}
		itemDef
		{
			rect -320 46 320 78 3 1
			decoration
			autowrapped
			visible 1
			forecolor 0.85 0.4 0.4 1
			textfont 3
			textalign 12
			textalignx 12
			textaligny 18
			textscale 0.375
			textstyle 8
			visible when ( localvarstring( "ui_conflicting_ref" ) != "" && ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) ) )
			exp text ( locstring( "@MPUI_ATTACHMENT_INCOMPATIBLE" , "@" + tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_conflicting_ref" ) , 2 ) ) )
		}
		itemDef
		{
			rect 0 46 220 20 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 1
			textscale 0.375
			visible when ( ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) ) || ( !( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) ) && !localvarint( "ui_numTokens" ) ) )
			exp text ( "@PLATFORM_UI_CLEAR_KILLSTREAKS" )
		}
		itemDef
		{
			rect 0 46 220 20 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 1
			textscale 0.375
			visible when ( !( isitemunlocked( localvarstring( "ui_selected_ref" ) ) && getplayerdata( "killstreakUnlocked" , localvarstring( "ui_selected_ref" ) ) ) && localvarint( "ui_numTokens" ) )
			exp text ( "@PLATFORM_UNLOCK_KILLSTREAK" )
		}
		itemDef
		{
			rect 0 74 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && 0 )
		}
		itemDef
		{
			rect 0 74 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "uav" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "uav" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "uav" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "uav" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "uav" )
						{
							setLocalVarString "ui_streak2Name" ( "uav" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "uav" && localvarstring( "ui_streak2Name" ) != "uav" )
						{
							setLocalVarString "ui_streak3Name" ( "uav" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "uav" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && ( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && ( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && ( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 74 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 74 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 74 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) )
		}
		itemDef
		{
			rect 0 74 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 74 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 74 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && ( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) )
		}
		itemDef
		{
			rect 0 74 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) )
		}
		itemDef
		{
			rect 0 74 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) )
		}
		itemDef
		{
			rect 0 74 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "uav" || localvarstring( "ui_streak2Name" ) == "uav" || localvarstring( "ui_streak3Name" ) == "uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "uav" , 4 ) ) ) ) && ( isitemunlocked( "uav" ) && getplayerdata( "killstreakUnlocked" , "uav" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 94 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && 0 )
		}
		itemDef
		{
			rect 0 94 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "airdrop" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "airdrop" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "airdrop" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "airdrop" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "airdrop" )
						{
							setLocalVarString "ui_streak2Name" ( "airdrop" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "airdrop" && localvarstring( "ui_streak2Name" ) != "airdrop" )
						{
							setLocalVarString "ui_streak3Name" ( "airdrop" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "airdrop" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && ( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && ( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && ( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 94 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 94 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 94 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) )
		}
		itemDef
		{
			rect 0 94 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 94 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 94 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && ( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) )
		}
		itemDef
		{
			rect 0 94 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) )
		}
		itemDef
		{
			rect 0 94 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) )
		}
		itemDef
		{
			rect 0 94 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop" || localvarstring( "ui_streak2Name" ) == "airdrop" || localvarstring( "ui_streak3Name" ) == "airdrop" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop" , 4 ) ) ) ) && ( isitemunlocked( "airdrop" ) && getplayerdata( "killstreakUnlocked" , "airdrop" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 114 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && 0 )
		}
		itemDef
		{
			rect 0 114 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "counter_uav" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "counter_uav" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "counter_uav" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "counter_uav" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "counter_uav" )
						{
							setLocalVarString "ui_streak2Name" ( "counter_uav" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "counter_uav" && localvarstring( "ui_streak2Name" ) != "counter_uav" )
						{
							setLocalVarString "ui_streak3Name" ( "counter_uav" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "counter_uav" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && ( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && ( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && ( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 114 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 114 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 114 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) )
		}
		itemDef
		{
			rect 0 114 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 114 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 114 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && ( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) )
		}
		itemDef
		{
			rect 0 114 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) )
		}
		itemDef
		{
			rect 0 114 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) )
		}
		itemDef
		{
			rect 0 114 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "counter_uav" || localvarstring( "ui_streak2Name" ) == "counter_uav" || localvarstring( "ui_streak3Name" ) == "counter_uav" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "counter_uav" , 4 ) ) ) ) && ( isitemunlocked( "counter_uav" ) && getplayerdata( "killstreakUnlocked" , "counter_uav" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 134 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && 0 )
		}
		itemDef
		{
			rect 0 134 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "airdrop_sentry_minigun" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "airdrop_sentry_minigun" )
						{
							setLocalVarString "ui_streak2Name" ( "airdrop_sentry_minigun" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "airdrop_sentry_minigun" && localvarstring( "ui_streak2Name" ) != "airdrop_sentry_minigun" )
						{
							setLocalVarString "ui_streak3Name" ( "airdrop_sentry_minigun" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "airdrop_sentry_minigun" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && ( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && ( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && ( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 134 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 134 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 134 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) )
		}
		itemDef
		{
			rect 0 134 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 134 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 134 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && ( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) )
		}
		itemDef
		{
			rect 0 134 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) )
		}
		itemDef
		{
			rect 0 134 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) )
		}
		itemDef
		{
			rect 0 134 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak2Name" ) == "airdrop_sentry_minigun" || localvarstring( "ui_streak3Name" ) == "airdrop_sentry_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_sentry_minigun" , 4 ) ) ) ) && ( isitemunlocked( "airdrop_sentry_minigun" ) && getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 154 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && 0 )
		}
		itemDef
		{
			rect 0 154 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "predator_missile" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "predator_missile" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "predator_missile" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "predator_missile" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "predator_missile" )
						{
							setLocalVarString "ui_streak2Name" ( "predator_missile" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "predator_missile" && localvarstring( "ui_streak2Name" ) != "predator_missile" )
						{
							setLocalVarString "ui_streak3Name" ( "predator_missile" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "predator_missile" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && ( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && ( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && ( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 154 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 154 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 154 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) )
		}
		itemDef
		{
			rect 0 154 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 154 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 154 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && ( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) )
		}
		itemDef
		{
			rect 0 154 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) )
		}
		itemDef
		{
			rect 0 154 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) )
		}
		itemDef
		{
			rect 0 154 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "predator_missile" || localvarstring( "ui_streak2Name" ) == "predator_missile" || localvarstring( "ui_streak3Name" ) == "predator_missile" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "predator_missile" , 4 ) ) ) ) && ( isitemunlocked( "predator_missile" ) && getplayerdata( "killstreakUnlocked" , "predator_missile" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 174 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && 0 )
		}
		itemDef
		{
			rect 0 174 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "precision_airstrike" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "precision_airstrike" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "precision_airstrike" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "precision_airstrike" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "precision_airstrike" )
						{
							setLocalVarString "ui_streak2Name" ( "precision_airstrike" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "precision_airstrike" && localvarstring( "ui_streak2Name" ) != "precision_airstrike" )
						{
							setLocalVarString "ui_streak3Name" ( "precision_airstrike" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "precision_airstrike" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && ( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && ( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && ( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 174 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 174 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 174 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) )
		}
		itemDef
		{
			rect 0 174 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 174 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 174 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && ( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) )
		}
		itemDef
		{
			rect 0 174 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) )
		}
		itemDef
		{
			rect 0 174 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) )
		}
		itemDef
		{
			rect 0 174 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "precision_airstrike" || localvarstring( "ui_streak2Name" ) == "precision_airstrike" || localvarstring( "ui_streak3Name" ) == "precision_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "precision_airstrike" , 4 ) ) ) ) && ( isitemunlocked( "precision_airstrike" ) && getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 194 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && 0 )
		}
		itemDef
		{
			rect 0 194 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "harrier_airstrike" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "harrier_airstrike" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "harrier_airstrike" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "harrier_airstrike" )
						{
							setLocalVarString "ui_streak2Name" ( "harrier_airstrike" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "harrier_airstrike" && localvarstring( "ui_streak2Name" ) != "harrier_airstrike" )
						{
							setLocalVarString "ui_streak3Name" ( "harrier_airstrike" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "harrier_airstrike" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && ( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && ( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && ( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 194 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 194 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 194 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) )
		}
		itemDef
		{
			rect 0 194 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 194 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 194 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && ( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) )
		}
		itemDef
		{
			rect 0 194 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) )
		}
		itemDef
		{
			rect 0 194 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) )
		}
		itemDef
		{
			rect 0 194 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "harrier_airstrike" || localvarstring( "ui_streak2Name" ) == "harrier_airstrike" || localvarstring( "ui_streak3Name" ) == "harrier_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "harrier_airstrike" , 4 ) ) ) ) && ( isitemunlocked( "harrier_airstrike" ) && getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 214 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && 0 )
		}
		itemDef
		{
			rect 0 214 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "helicopter" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "helicopter" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "helicopter" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "helicopter" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "helicopter" )
						{
							setLocalVarString "ui_streak2Name" ( "helicopter" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "helicopter" && localvarstring( "ui_streak2Name" ) != "helicopter" )
						{
							setLocalVarString "ui_streak3Name" ( "helicopter" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "helicopter" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && ( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && ( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && ( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 214 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 214 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 214 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) )
		}
		itemDef
		{
			rect 0 214 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 214 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 214 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && ( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) )
		}
		itemDef
		{
			rect 0 214 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) )
		}
		itemDef
		{
			rect 0 214 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) )
		}
		itemDef
		{
			rect 0 214 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter" || localvarstring( "ui_streak2Name" ) == "helicopter" || localvarstring( "ui_streak3Name" ) == "helicopter" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter" , 4 ) ) ) ) && ( isitemunlocked( "helicopter" ) && getplayerdata( "killstreakUnlocked" , "helicopter" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 234 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && 0 )
		}
		itemDef
		{
			rect 0 234 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "airdrop_mega" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "airdrop_mega" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "airdrop_mega" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "airdrop_mega" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "airdrop_mega" )
						{
							setLocalVarString "ui_streak2Name" ( "airdrop_mega" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "airdrop_mega" && localvarstring( "ui_streak2Name" ) != "airdrop_mega" )
						{
							setLocalVarString "ui_streak3Name" ( "airdrop_mega" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "airdrop_mega" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && ( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && ( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && ( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 234 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 234 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 234 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) )
		}
		itemDef
		{
			rect 0 234 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 234 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 234 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && ( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) )
		}
		itemDef
		{
			rect 0 234 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) )
		}
		itemDef
		{
			rect 0 234 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) )
		}
		itemDef
		{
			rect 0 234 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "airdrop_mega" || localvarstring( "ui_streak2Name" ) == "airdrop_mega" || localvarstring( "ui_streak3Name" ) == "airdrop_mega" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "airdrop_mega" , 4 ) ) ) ) && ( isitemunlocked( "airdrop_mega" ) && getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 254 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && 0 )
		}
		itemDef
		{
			rect 0 254 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "helicopter_flares" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "helicopter_flares" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "helicopter_flares" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "helicopter_flares" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "helicopter_flares" )
						{
							setLocalVarString "ui_streak2Name" ( "helicopter_flares" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "helicopter_flares" && localvarstring( "ui_streak2Name" ) != "helicopter_flares" )
						{
							setLocalVarString "ui_streak3Name" ( "helicopter_flares" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "helicopter_flares" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && ( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && ( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && ( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 254 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 254 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 254 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) )
		}
		itemDef
		{
			rect 0 254 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 254 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 254 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && ( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) )
		}
		itemDef
		{
			rect 0 254 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) )
		}
		itemDef
		{
			rect 0 254 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) )
		}
		itemDef
		{
			rect 0 254 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter_flares" || localvarstring( "ui_streak2Name" ) == "helicopter_flares" || localvarstring( "ui_streak3Name" ) == "helicopter_flares" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_flares" , 4 ) ) ) ) && ( isitemunlocked( "helicopter_flares" ) && getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 274 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && 0 )
		}
		itemDef
		{
			rect 0 274 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "stealth_airstrike" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "stealth_airstrike" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "stealth_airstrike" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "stealth_airstrike" )
						{
							setLocalVarString "ui_streak2Name" ( "stealth_airstrike" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "stealth_airstrike" && localvarstring( "ui_streak2Name" ) != "stealth_airstrike" )
						{
							setLocalVarString "ui_streak3Name" ( "stealth_airstrike" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "stealth_airstrike" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && ( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && ( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && ( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 274 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 274 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 274 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) )
		}
		itemDef
		{
			rect 0 274 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 274 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 274 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && ( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) )
		}
		itemDef
		{
			rect 0 274 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) )
		}
		itemDef
		{
			rect 0 274 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) )
		}
		itemDef
		{
			rect 0 274 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "stealth_airstrike" || localvarstring( "ui_streak2Name" ) == "stealth_airstrike" || localvarstring( "ui_streak3Name" ) == "stealth_airstrike" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "stealth_airstrike" , 4 ) ) ) ) && ( isitemunlocked( "stealth_airstrike" ) && getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 294 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && 0 )
		}
		itemDef
		{
			rect 0 294 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "helicopter_minigun" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "helicopter_minigun" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "helicopter_minigun" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "helicopter_minigun" )
						{
							setLocalVarString "ui_streak2Name" ( "helicopter_minigun" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "helicopter_minigun" && localvarstring( "ui_streak2Name" ) != "helicopter_minigun" )
						{
							setLocalVarString "ui_streak3Name" ( "helicopter_minigun" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "helicopter_minigun" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && ( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && ( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && ( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 294 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 294 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 294 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) )
		}
		itemDef
		{
			rect 0 294 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 294 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 294 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && ( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) )
		}
		itemDef
		{
			rect 0 294 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) )
		}
		itemDef
		{
			rect 0 294 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) )
		}
		itemDef
		{
			rect 0 294 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "helicopter_minigun" || localvarstring( "ui_streak2Name" ) == "helicopter_minigun" || localvarstring( "ui_streak3Name" ) == "helicopter_minigun" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "helicopter_minigun" , 4 ) ) ) ) && ( isitemunlocked( "helicopter_minigun" ) && getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 314 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && 0 )
		}
		itemDef
		{
			rect 0 314 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "ac130" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "ac130" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "ac130" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "ac130" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "ac130" )
						{
							setLocalVarString "ui_streak2Name" ( "ac130" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "ac130" && localvarstring( "ui_streak2Name" ) != "ac130" )
						{
							setLocalVarString "ui_streak3Name" ( "ac130" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "ac130" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && ( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && ( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && ( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 314 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 314 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 314 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) )
		}
		itemDef
		{
			rect 0 314 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 314 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 314 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && ( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) )
		}
		itemDef
		{
			rect 0 314 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) )
		}
		itemDef
		{
			rect 0 314 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) )
		}
		itemDef
		{
			rect 0 314 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "ac130" || localvarstring( "ui_streak2Name" ) == "ac130" || localvarstring( "ui_streak3Name" ) == "ac130" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "ac130" , 4 ) ) ) ) && ( isitemunlocked( "ac130" ) && getplayerdata( "killstreakUnlocked" , "ac130" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 334 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && 0 )
		}
		itemDef
		{
			rect 0 334 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "emp" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "emp" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "emp" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "emp" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "emp" )
						{
							setLocalVarString "ui_streak2Name" ( "emp" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "emp" && localvarstring( "ui_streak2Name" ) != "emp" )
						{
							setLocalVarString "ui_streak3Name" ( "emp" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "emp" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && ( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && ( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && ( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 334 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 334 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 334 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) )
		}
		itemDef
		{
			rect 0 334 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 334 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 334 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && ( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) )
		}
		itemDef
		{
			rect 0 334 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) )
		}
		itemDef
		{
			rect 0 334 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) )
		}
		itemDef
		{
			rect 0 334 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "emp" || localvarstring( "ui_streak2Name" ) == "emp" || localvarstring( "ui_streak3Name" ) == "emp" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "emp" , 4 ) ) ) ) && ( isitemunlocked( "emp" ) && getplayerdata( "killstreakUnlocked" , "emp" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 354 220 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.8 0.6 0.1 1
			background "ks_button_selected_bar"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && 0 )
		}
		itemDef
		{
			rect 0 354 220 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "ks_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textscale 0.375
			visible when ( 1 )
			disabled when ( ( !( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) ) ) ) )
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 2 ) )
			action
			{
				play "mouse_click";
				if ( ( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) )
				{
					if ( localvarstring( "ui_streak1Name" ) == "nuke" )
					{
						setLocalVarString "ui_streak1Name" ( "none" );
					}
					if ( localvarstring( "ui_streak2Name" ) == "nuke" )
					{
						setLocalVarString "ui_streak2Name" ( "none" );
					}
					if ( localvarstring( "ui_streak3Name" ) == "nuke" )
					{
						setLocalVarString "ui_streak3Name" ( "none" );
					}
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) - 1 );
					play "mouse_click";
					setItemColor self backcolor 0 0 0 1;
				}
				else
				{
					if ( ( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && localvarint( "ui_numStreaks" ) < 3 && !( !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) ) ) )
					{
						if ( localvarstring( "ui_streak1Name" ) == "none" )
						{
							setLocalVarString "ui_streak1Name" ( "nuke" );
						}
						if ( localvarstring( "ui_streak2Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "nuke" )
						{
							setLocalVarString "ui_streak2Name" ( "nuke" );
						}
						if ( localvarstring( "ui_streak3Name" ) == "none" && localvarstring( "ui_streak1Name" ) != "nuke" && localvarstring( "ui_streak2Name" ) != "nuke" )
						{
							setLocalVarString "ui_streak3Name" ( "nuke" );
						}
						setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
						play "mouse_click";
						setItemColor self backcolor 0 0 0 1;
					}
					else
					{
						if ( !( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) )
						{
							open "popup_unlockconfirm";
						}
					}
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "nuke" );
				setLocalVarString "ui_cas_hint" ( "" );
				if ( ( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) )
				{
					setItemColor self backcolor 0 0 0 1;
				}
				if ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) )
				{
					setLocalVarString "ui_cas_hint" ( "@MPUI_3_KILLSTREAKS_SELECTED" );
				}
				setLocalVarString "ui_conflicting_ref" ( "" );
				if ( !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && ( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && ( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
				}
				if ( !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && ( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
				}
				if ( localvarint( "ui_numStreaks" ) == 3 )
				{
					setLocalVarString "ui_conflicting_ref" ( "" );
				}
				if ( ( !( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && !localvarint( "ui_numTokens" ) ) || ( ( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && ( ( !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) ) ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 354 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( ( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) )
			disabled when ( ( !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( ( !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) ) ) || ( localvarint( "ui_numStreaks" ) == 3 && !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) ) )
				{
					setLocalVarBool "ui_popupAButton" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 354 220 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textalignx 24
			textscale 0.375
			visible when ( !( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 354 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.6 0.55 0.55 0.5
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) )
		}
		itemDef
		{
			rect 0 354 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "ks_button_check_locked"
			textscale 0.55
			visible when ( !( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && !localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 354 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			background "ks_button_check_locked"
			textscale 0.55
			exp forecolor a ( ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.75 + 0.25 ) * ( localvarint( "ui_numTokens" ) > 0 ) ) )
			visible when ( !( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && localvarint( "ui_numTokens" ) )
		}
		itemDef
		{
			rect 0 354 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && ( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) )
		}
		itemDef
		{
			rect 0 354 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "ks_button_check_bg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) )
		}
		itemDef
		{
			rect 0 354 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ks_button_check_fg"
			textscale 0.55
			visible when ( ( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) )
		}
		itemDef
		{
			rect 0 354 20 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "ks_button_check_x"
			textscale 0.55
			visible when ( ( !( localvarstring( "ui_streak1Name" ) == "nuke" || localvarstring( "ui_streak2Name" ) == "nuke" || localvarstring( "ui_streak3Name" ) == "nuke" ) && ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) || int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , "nuke" , 4 ) ) ) ) && ( isitemunlocked( "nuke" ) && getplayerdata( "killstreakUnlocked" , "nuke" ) ) && ( localvarint( "ui_numStreaks" ) != 3 ) )
		}
		itemDef
		{
			rect 0 54 220 20 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -14
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( ( localvarbool( "ui_popupAButton" ) && !localvarint( "ui_centerPopup" ) ) )
		}
		itemDef
		{
			rect -280 214 74 74 3 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -280 214 74 74 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "gradient_inset_rect"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -266 220 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp forecolor a ( min( max( ( milliseconds( ) - localvarint( "ui_update_time" ) ) / 500 , 0 ) , 1 ) )
			visible when ( 1 )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 14 ) )
		}
		itemDef
		{
			rect -266 220 48 48 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.85
			textfont 3
			textalign 13
			textaligny 16
			textscale 0.375
			exp forecolor a ( min( max( ( milliseconds( ) - localvarint( "ui_update_time" ) ) / 220 , 0 ) , 1 ) * 0.85 )
			visible when ( 1 )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) ) )
		}
		itemDef
		{
			rect -196 214 74 74 3 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -196 214 74 74 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "gradient_inset_rect"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -182 220 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp forecolor a ( min( max( ( milliseconds( ) - localvarint( "ui_update_time" ) ) / 500 , 0 ) , 1 ) )
			visible when ( 1 )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 14 ) )
		}
		itemDef
		{
			rect -182 220 48 48 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.85
			textfont 3
			textalign 13
			textaligny 16
			textscale 0.375
			exp forecolor a ( min( max( ( milliseconds( ) - localvarint( "ui_update_time" ) ) / 220 , 0 ) , 1 ) * 0.85 )
			visible when ( 1 )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) ) )
		}
		itemDef
		{
			rect -112 214 74 74 3 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -112 214 74 74 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "gradient_inset_rect"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -98 220 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp forecolor a ( min( max( ( milliseconds( ) - localvarint( "ui_update_time" ) ) / 500 , 0 ) , 1 ) )
			visible when ( 1 )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 14 ) )
		}
		itemDef
		{
			rect -98 220 48 48 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.85
			textfont 3
			textalign 13
			textaligny 16
			textscale 0.375
			exp forecolor a ( min( max( ( milliseconds( ) - localvarint( "ui_update_time" ) ) / 220 , 0 ) , 1 ) * 0.85 )
			visible when ( 1 )
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) ) )
		}
		itemDef
		{
			rect -320 288 320 20 3 1
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			textfont 9
			textalign 5
			textscale 0.5833
			exp forecolor g ( 0.4 + ( localvarint( "ui_numStreaks" ) == 3 ) * 0.45 )
			exp forecolor b ( 0.4 + ( localvarint( "ui_numStreaks" ) == 3 ) * 0.45 )
			visible when ( 1 )
			exp text ( locstring( "@MPUI_N_SLASH_N_SELECTED" , localvarint( "ui_numStreaks" ) , 3 ) )
		}
		itemDef
		{
			rect -272 0 0 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			exp text ( getpartystatus( ) )
		}
		itemDef
		{
			rect -22 26 20 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.55 0.93 0.56 1
			background "ks_button_check_unlocked"
			textfont 9
			textalign 10
			textalignx -22
			textscale 0.3333
			exp forecolor a ( min( 0.25 , max( 0 , sin( milliseconds( ) / 700 ) ) ) * 4 )
			exp backcolor a ( min( 0.25 , max( 0 , sin( milliseconds( ) / 700 ) ) ) * 4 )
			visible when ( 1 )
			exp text ( locstring( "@MPUI_N_SLASH_N_UNLOCKED" , 3 + localvarint( "ui_unlockedStreaks" ) , 15 ) )
		}
		itemDef
		{
			rect -22 26 20 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.55 0.93 0.56 1
			background "ks_button_check_unlocked"
			textfont 9
			textalign 10
			textalignx -22
			textscale 0.3333
			exp forecolor a ( ( !localvarint( "ui_numTokens" ) ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 )
			exp backcolor a ( ( !localvarint( "ui_numTokens" ) ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 )
			visible when ( ( int( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_nextToken" ) , 2 ) - levelforexperience( getplayerdata( "experience" ) ) ) ) > 1 )
			exp text ( locstring( "@MPUI_UNLOCK_IN_N_LEVELS" , ( int( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_nextToken" ) , 2 ) - levelforexperience( getplayerdata( "experience" ) ) ) ) ) )
		}
		itemDef
		{
			rect -22 26 20 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.55 0.93 0.56 1
			background "ks_button_check_unlocked"
			textfont 9
			textalign 10
			textalignx -22
			textscale 0.3333
			text "@MPUI_UNLOCK_IN_1_LEVEL"
			exp forecolor a ( ( !localvarint( "ui_numTokens" ) ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 )
			exp backcolor a ( ( !localvarint( "ui_numTokens" ) ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 )
			visible when ( ( int( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_nextToken" ) , 2 ) - levelforexperience( getplayerdata( "experience" ) ) ) ) == 1 )
		}
		itemDef
		{
			rect -22 26 20 20 3 1
			style 1
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			backcolor 0.55 0.93 0.56 1
			background "ks_button_check_unlocked"
			textfont 9
			textalign 10
			textalignx -22
			textscale 0.3333
			text "@MPUI_UNLOCK_AVAILABLE"
			exp forecolor a ( ( localvarint( "ui_numTokens" ) ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 )
			exp backcolor a ( ( localvarint( "ui_numTokens" ) ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 )
			visible when ( localvarint( "ui_numTokens" ) == 1 )
		}
		itemDef
		{
			rect -22 26 20 20 3 1
			style 1
			decoration
			visible 1
			forecolor 0.55 0.93 0.56 1
			backcolor 0.55 0.93 0.56 1
			background "ks_button_check_unlocked"
			textfont 9
			textalign 10
			textalignx -22
			textscale 0.3333
			textstyle 8
			exp forecolor a ( ( localvarint( "ui_numTokens" ) ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 )
			exp backcolor a ( ( localvarint( "ui_numTokens" ) ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 )
			visible when ( localvarint( "ui_numTokens" ) > 1 )
			exp text ( locstring( "@MPUI_N_UNLOCKS_AVAILABLE" , localvarint( "ui_numTokens" ) ) )
		}
		itemDef
		{
			rect 0 -20 220 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "popup_needstreaks"
		rect -150 -124 300 124 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "cancel_button";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 300 124 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -214 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -188 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_EXIT_CAS_TITLE"
		}
		itemDef
		{
			rect -146 -100 292 20 2 2
			group "mw2_popup_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MPUI_EXIT_CAS_DESC"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -146 -60 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MPUI_SAVE_AND_EXIT"
			action
			{
				play "mouse_click";
				setPlayerData( "killstreaks" , 0 , "localVarString" ( "ui_streak1Name" ) );
				; setPlayerData( "killstreaks" , 1 , "localVarString" ( "ui_streak2Name" ) );
				; setPlayerData( "killstreaks" , 2 , "localVarString" ( "ui_streak3Name" ) );
				; close self;
				close "menu_cas_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "yes_button"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MPUI_EXIT_WITHOUT_SAVE"
			action
			{
				play "mouse_click";
				close self;
				close "menu_cas_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cancel_button"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MPUI_FINISH_SELECTING"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -124 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "popup_welcometocas"
		rect -150 -84 300 84 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "button_no";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 300 84 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -214 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -148 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_KILLSTREAK_REWARDS"
		}
		itemDef
		{
			rect -146 -60 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			exp text ( "@MENU_DESC_CAS_WELCOME" )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "button_ok"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_OK"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -84 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "popup_tokensavailable"
		rect -150 -84 300 84 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 300 84 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -214 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -148 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_KILLSTREAK_REWARDS"
		}
		itemDef
		{
			rect -146 -60 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 0.55 0.93 0.56 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( localvarint( "ui_numTokens" ) == 1 )
			exp text ( "@MPUI_1_UNLOCK_AVAILABLE" )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -146 -60 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 0.55 0.93 0.56 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( localvarint( "ui_numTokens" ) > 1 )
			exp text ( locstring( "@MPUI_N_UNLOCKS_AVAILABLE" , localvarint( "ui_numTokens" ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "button_ok"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_OK"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -84 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "popup_unlockconfirm"
		rect -150 -144 300 144 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect w ( localvarstring( "ui_closeSound" ) )
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "button_no";
			setLocalVarString "ui_closeSound" ( "mouse_click" );
			setLocalVarString "ui_conflicting_ref" ( "" );
			if ( ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
			{
				setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak1Name" ) );
			}
			if ( ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
			{
				setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak2Name" ) );
			}
			if ( ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
			{
				setLocalVarString "ui_conflicting_ref" ( localvarstring( "ui_streak3Name" ) );
			}
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -624 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -624 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -144 300 144 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -144 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -144 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -144 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -150 -144 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -144 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -144 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -214 -208 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -208 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -208 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -144 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -144 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -144 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -144 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -144 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -144 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_UNLOCK_KILLSTREAK"
		}
		itemDef
		{
			rect -146 -120 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 0.8 0.4 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 10
			textalign 5
			textscale 0.3333
			exp text ( "@" + tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 2 ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -146 -60 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			disablecolor 0.6 0.55 0.55 1
			background "line_horizontal"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( localvarint( "ui_numTokens" ) > 1 )
			exp text ( locstring( "@MPUI_UNLOCKS_REMAINING_GREEN" , localvarint( "ui_numTokens" ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -146 -60 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			disablecolor 0.6 0.55 0.55 1
			background "line_horizontal"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( localvarint( "ui_numTokens" ) == 1 )
			exp text ( locstring( "@MPUI_UNLOCK_REMAINING_RED" , 1 ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -146 -100 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( localvarstring( "ui_conflicting_ref" ) != "" )
			exp text ( locstring( "@MPUI_ATTACHMENT_INCOMPATIBLE" , "@" + tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_conflicting_ref" ) , 2 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "button_yes"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				setLocalVarString "ui_closeSound" ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 7 ) );
				setPlayerData( "killstreakUnlocked" , "localVarString" ( "ui_selected_ref" ) , "true" );
				if ( ! ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) && ! ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) && ! ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_selected_ref" ) );
				}
				if ( ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_selected_ref" ) );
				}
				if ( ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_selected_ref" ) );
				}
				if ( ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) == int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 4 ) ) ) )
				{
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_selected_ref" ) );
				}
				setLocalVarInt "ui_unlockedStreaks" ( 0 );
				if ( getplayerdata( "killstreakUnlocked" , "uav" ) && "uav" != "uav" && "uav" != "airdrop" && "uav" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "airdrop" ) && "airdrop" != "uav" && "airdrop" != "airdrop" && "airdrop" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "counter_uav" ) && "counter_uav" != "uav" && "counter_uav" != "airdrop" && "counter_uav" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "airdrop_sentry_minigun" ) && "airdrop_sentry_minigun" != "uav" && "airdrop_sentry_minigun" != "airdrop" && "airdrop_sentry_minigun" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "predator_missile" ) && "predator_missile" != "uav" && "predator_missile" != "airdrop" && "predator_missile" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "precision_airstrike" ) && "precision_airstrike" != "uav" && "precision_airstrike" != "airdrop" && "precision_airstrike" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "harrier_airstrike" ) && "harrier_airstrike" != "uav" && "harrier_airstrike" != "airdrop" && "harrier_airstrike" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "helicopter" ) && "helicopter" != "uav" && "helicopter" != "airdrop" && "helicopter" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "airdrop_mega" ) && "airdrop_mega" != "uav" && "airdrop_mega" != "airdrop" && "airdrop_mega" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "helicopter_flares" ) && "helicopter_flares" != "uav" && "helicopter_flares" != "airdrop" && "helicopter_flares" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "stealth_airstrike" ) && "stealth_airstrike" != "uav" && "stealth_airstrike" != "airdrop" && "stealth_airstrike" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "helicopter_minigun" ) && "helicopter_minigun" != "uav" && "helicopter_minigun" != "airdrop" && "helicopter_minigun" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "ac130" ) && "ac130" != "uav" && "ac130" != "airdrop" && "ac130" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "emp" ) && "emp" != "uav" && "emp" != "airdrop" && "emp" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				if ( getplayerdata( "killstreakUnlocked" , "nuke" ) && "nuke" != "uav" && "nuke" != "airdrop" && "nuke" != "predator_missile" )
				{
					setLocalVarInt "ui_unlockedStreaks" ( localvarint( "ui_unlockedStreaks" ) + 1 );
				}
				setLocalVarInt "ui_numTokens" ( 0 );
				setLocalVarString "ui_nextToken" ( "" );
				if ( isitemunlocked( "token_1" ) )
				{
					setLocalVarInt "ui_numTokens" ( 1 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_1" );
					}
				}
				if ( isitemunlocked( "token_2" ) )
				{
					setLocalVarInt "ui_numTokens" ( 2 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_2" );
					}
				}
				if ( isitemunlocked( "token_3" ) )
				{
					setLocalVarInt "ui_numTokens" ( 3 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_3" );
					}
				}
				if ( isitemunlocked( "token_4" ) )
				{
					setLocalVarInt "ui_numTokens" ( 4 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_4" );
					}
				}
				if ( isitemunlocked( "token_5" ) )
				{
					setLocalVarInt "ui_numTokens" ( 5 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_5" );
					}
				}
				if ( isitemunlocked( "token_6" ) )
				{
					setLocalVarInt "ui_numTokens" ( 6 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_6" );
					}
				}
				if ( isitemunlocked( "token_7" ) )
				{
					setLocalVarInt "ui_numTokens" ( 7 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_7" );
					}
				}
				if ( isitemunlocked( "token_8" ) )
				{
					setLocalVarInt "ui_numTokens" ( 8 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_8" );
					}
				}
				if ( isitemunlocked( "token_9" ) )
				{
					setLocalVarInt "ui_numTokens" ( 9 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_9" );
					}
				}
				if ( isitemunlocked( "token_10" ) )
				{
					setLocalVarInt "ui_numTokens" ( 10 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_10" );
					}
				}
				if ( isitemunlocked( "token_11" ) )
				{
					setLocalVarInt "ui_numTokens" ( 11 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_11" );
					}
				}
				if ( isitemunlocked( "token_12" ) )
				{
					setLocalVarInt "ui_numTokens" ( 12 );
				}
				else
				{
					if ( localvarstring( "ui_nextToken" ) == "" )
					{
						setLocalVarString "ui_nextToken" ( "token_12" );
					}
				}
				setLocalVarInt "ui_numTokens" ( max( ( localvarint( "ui_numTokens" ) - localvarint( "ui_unlockedStreaks" ) ) , 0 ) );
				setLocalVarInt "ui_numStreaks" ( 0 );
				if ( localvarstring( "ui_streak1Name" ) != "none" )
				{
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
				}
				if ( localvarstring( "ui_streak2Name" ) != "none" )
				{
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
				}
				if ( localvarstring( "ui_streak3Name" ) != "none" )
				{
					setLocalVarInt "ui_numStreaks" ( localvarint( "ui_numStreaks" ) + 1 );
				}
				if ( !localvarint( "ui_numTokens" ) )
				{
					setPlayerData( "featureNew" , "token_1" , "false" );
					setPlayerData( "featureNew" , "token_2" , "false" );
					setPlayerData( "featureNew" , "token_3" , "false" );
					setPlayerData( "featureNew" , "token_4" , "false" );
					setPlayerData( "featureNew" , "token_5" , "false" );
					setPlayerData( "featureNew" , "token_6" , "false" );
					setPlayerData( "featureNew" , "token_7" , "false" );
					setPlayerData( "featureNew" , "token_8" , "false" );
					setPlayerData( "featureNew" , "token_9" , "false" );
					setPlayerData( "featureNew" , "token_10" , "false" );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak2Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak3Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) && localvarstring( "ui_streak3Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_streak3Name" ) );
					setLocalVarString "ui_streak3Name" ( localvarstring( "ui_tempStreak" ) );
				}
				if ( localvarstring( "ui_streak1Name" ) == "none" || ( int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak2Name" ) , 4 ) ) < int( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_streak1Name" ) , 4 ) ) && localvarstring( "ui_streak2Name" ) != "none" ) )
				{
					setLocalVarString "ui_tempStreak" ( localvarstring( "ui_streak1Name" ) );
					setLocalVarString "ui_streak1Name" ( localvarstring( "ui_streak2Name" ) );
					setLocalVarString "ui_streak2Name" ( localvarstring( "ui_tempStreak" ) );
				}
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "button_no"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -144 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "menu_playercard_title_popup"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		execKey "BUTTON_LTRIG"
		{
			if ( localvarint( "ui_pageIndex" ) )
			{
				setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
			}
		}
		execKey "BUTTON_RTRIG"
		{
			if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
			{
				setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
			}
		}
		execKey "BUTTON_LSHLDR"
		{
			if ( localvarint( "ui_pageIndex" ) )
			{
				setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
			}
		}
		execKey "BUTTON_RSHLDR"
		{
			if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
			{
				setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
			}
		}
		onOpen
		{
			setLocalVarInt "ui_pageIndex" ( 0 );
			setLocalVarInt "ui_numPages" ( 0 );
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 1 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 1 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 2 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 2 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 3 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 3 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 4 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 4 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 5 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 5 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 6 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 6 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 7 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 7 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 8 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 8 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 9 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 9 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 10 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 10 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 11 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 11 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 12 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 12 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 13 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 13 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 14 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 14 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 15 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 15 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 16 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 16 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 17 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 17 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 18 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 18 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 19 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 19 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 20 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 20 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 21 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 21 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 22 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 22 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 23 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 23 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 24 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 24 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 25 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 25 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 26 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 26 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 27 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 27 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 28 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 28 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 29 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 29 );
			}
			if ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , ( 30 * 27 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 30 );
			}
			setPlayerData( "titleNew" , "cardtitle_flag_uk" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_canada" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_australia" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_spain" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_austria" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_japan" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_brazil" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_swiss" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_russia" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_mexico" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_france" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_germany" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_italy" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_norway" , "false" ) setPlayerData( "titleNew" , "cardtitle_flag_greece" , "false" ) setPlayerData( "tit5
		}
		onClose
		{
			execnow "uploadstats";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -320 0 640 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MENU_TITLE_CAPS"
		}
		itemDef
		{
			rect 0 28 640 356 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 356 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 384 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 384 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 384 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 356 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 0 0 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_statusString"
			visible when ( !dvarint( "xblive_privatematch" ) && inlobby( ) )
		}
		itemDef
		{
			rect -272 0 272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_partyPlayerCount"
			visible when ( !inlobby( ) )
		}
		itemDef
		{
			rect -272 28 544 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 6
			textalignx -4
			textscale 0.3333
			visible when ( 1 )
			exp text ( locstring( "@MPUI_PAGE_N_SLASH_N" , ( localvarint( "ui_pageIndex" ) + 1 ) , ( localvarint( "ui_numPages" ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 208 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( 0 - ( ( 208 ) / 2 ) )
			exp rect y ( ( 28 + 4 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( 0 - ( ( 208 ) / 2 ) )
			exp rect y ( ( 28 + 4 ) - 2 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( 0 - ( ( 208 ) / 2 ) )
			exp rect y ( ( 28 + 4 ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( 0 - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 28 + 4 ) ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 - ( ( 208 ) / 2 ) ) + 158 )
			exp rect y ( ( ( 28 + 4 ) ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			name "cardTitle1_0"
			rect -302 81.3333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle1_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle1_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle1_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle1_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle1_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle1_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle1_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle1_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle1_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle1_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle1_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -270 92 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle1_0" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle1_0" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -280 82 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 92 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 92 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle2_0"
			rect -302 113.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle2_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle2_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle2_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle2_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle2_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle2_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle2_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle2_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle2_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle2_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle2_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -270 124 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle2_0" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle2_0" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -280 114 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 124 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 124 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle3_0"
			rect -302 145.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle3_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle3_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle3_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle3_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle3_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle3_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle3_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle3_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle3_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle3_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle3_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -270 156 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle3_0" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle3_0" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -280 146 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 156 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 156 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle4_0"
			rect -302 177.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle4_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle4_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle4_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle4_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle4_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle4_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle4_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle4_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle4_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle4_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle4_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -270 188 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle4_0" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle4_0" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -280 178 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 188 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 188 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle5_0"
			rect -302 209.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle5_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle5_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle5_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle5_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle5_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle5_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle5_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle5_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle5_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle5_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle5_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -270 220 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle5_0" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle5_0" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -280 210 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 220 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 220 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle6_0"
			rect -302 241.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle6_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle6_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle6_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle6_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle6_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle6_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle6_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle6_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle6_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle6_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle6_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -270 252 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle6_0" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle6_0" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -280 242 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 252 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 252 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle7_0"
			rect -302 273.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle7_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle7_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle7_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle7_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle7_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle7_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle7_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle7_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle7_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle7_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle7_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle7_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle7_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -270 284 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle7_0" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle7_0" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -280 274 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 284 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 284 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle8_0"
			rect -302 305.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle8_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle8_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle8_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle8_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle8_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle8_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle8_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle8_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle8_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle8_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle8_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle8_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle8_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -270 316 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle8_0" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle8_0" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -280 306 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 316 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 316 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle9_0"
			rect -302 337.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle9_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle9_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle9_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle9_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle9_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle9_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle9_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle9_2";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle9_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardTitle9_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardTitle9_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardTitle9_2";
				}
				if ( 0 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle9_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -270 348 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle9_0" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle9_0" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -280 338 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 348 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -270 348 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle1_1"
			rect -112 81.3333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle1_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle1_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle1_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle1_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle1_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle1_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle1_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle1_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle1_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle1_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle1_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -80 92 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle1_1" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle1_1" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -90 82 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 92 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 92 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle2_1"
			rect -112 113.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle2_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle2_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle2_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle2_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle2_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle2_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle2_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle2_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle2_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle2_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle2_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -80 124 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle2_1" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle2_1" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -90 114 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 124 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 124 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle3_1"
			rect -112 145.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle3_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle3_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle3_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle3_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle3_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle3_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle3_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle3_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle3_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle3_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle3_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -80 156 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle3_1" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle3_1" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -90 146 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 156 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 156 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle4_1"
			rect -112 177.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle4_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle4_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle4_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle4_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle4_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle4_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle4_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle4_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle4_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle4_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle4_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -80 188 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle4_1" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle4_1" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -90 178 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 188 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 188 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle5_1"
			rect -112 209.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle5_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle5_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle5_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle5_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle5_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle5_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle5_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle5_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle5_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle5_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle5_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -80 220 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle5_1" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle5_1" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -90 210 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 220 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 220 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle6_1"
			rect -112 241.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle6_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle6_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle6_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle6_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle6_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle6_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle6_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle6_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle6_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle6_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle6_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -80 252 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle6_1" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle6_1" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -90 242 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 252 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 252 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle7_1"
			rect -112 273.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle7_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle7_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle7_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle7_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle7_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle7_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle7_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle7_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle7_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle7_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle7_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle7_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle7_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -80 284 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle7_1" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle7_1" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -90 274 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 284 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 284 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle8_1"
			rect -112 305.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle8_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle8_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle8_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle8_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle8_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle8_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle8_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle8_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle8_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle8_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle8_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle8_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle8_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -80 316 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle8_1" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle8_1" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -90 306 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 316 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 316 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle9_1"
			rect -112 337.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle9_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle9_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle9_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle9_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle9_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle9_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle9_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle9_2";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle9_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardTitle9_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardTitle9_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardTitle9_2";
				}
				if ( 1 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle9_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -80 348 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle9_1" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle9_1" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect -90 338 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 348 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -80 348 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle1_2"
			rect 78 81.3333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle1_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle1_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle1_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle1_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle1_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle1_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle1_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle1_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle1_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle1_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle1_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 110 92 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle1_2" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle1_2" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect 100 82 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 92 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 92 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle2_2"
			rect 78 113.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle2_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle2_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle2_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle2_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle2_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle2_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle2_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle2_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle2_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle2_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle2_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 110 124 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle2_2" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle2_2" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect 100 114 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 124 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 124 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle3_2"
			rect 78 145.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle3_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle3_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle3_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle3_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle3_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle3_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle3_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle3_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle3_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle3_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle3_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 110 156 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle3_2" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle3_2" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect 100 146 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 156 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 156 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle4_2"
			rect 78 177.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle4_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle4_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle4_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle4_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle4_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle4_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle4_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle4_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle4_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle4_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle4_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 110 188 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle4_2" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle4_2" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect 100 178 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 188 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 188 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle5_2"
			rect 78 209.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle5_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle5_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle5_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle5_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle5_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle5_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle5_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle5_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle5_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle5_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle5_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 110 220 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle5_2" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle5_2" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect 100 210 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 220 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 220 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle6_2"
			rect 78 241.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle6_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle6_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle6_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle6_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle6_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle6_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle6_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle6_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle6_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle6_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle6_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 110 252 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle6_2" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle6_2" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect 100 242 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 252 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 252 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle7_2"
			rect 78 273.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle7_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle7_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle7_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle7_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle7_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle7_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle7_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle7_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle7_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle7_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle7_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle7_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle7_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 110 284 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle7_2" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle7_2" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect 100 274 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 284 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 284 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle8_2"
			rect 78 305.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle8_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle8_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle8_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle8_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle8_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle8_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle8_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle8_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle8_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle8_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle8_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle8_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle8_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 110 316 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle8_2" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle8_2" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect 100 306 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 316 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 316 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			name "cardTitle9_2"
			rect 78 337.333 224 53.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardTitle9_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle9_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle9_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle9_1";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle9_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle9_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle9_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardTitle9_2";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle9_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardTitle9_1";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardTitle9_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardTitle9_2";
				}
				if ( 2 == 2 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardTitle9_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
					setPlayerData( "cardTitle" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "titleNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 110 348 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 5 ) )
			exp forecolor a ( ( 1 * !( getfocuseditemname( ) == "cardTitle9_2" ) ) + ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * ( getfocuseditemname( ) == "cardTitle9_2" ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 2 ) )
		}
		itemDef
		{
			rect 100 338 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 348 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "titleNew" , tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 110 348 160 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_locked"
			textfont 3
			textalign 5
			textaligny 8
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardTitleTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 27 ) , 0 ) ) )
			exp text ( "" )
		}
		itemDef
		{
			rect -304 140 -32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
			visible when ( localvarint( "ui_pageIndex" ) && dvarbool( "wideScreen" ) )
		}
		itemDef
		{
			rect 272 140 32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
			visible when ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) && dvarbool( "wideScreen" ) )
		}
		itemDef
		{
			rect -260 26 -20 80 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
			visible when ( localvarint( "ui_pageIndex" ) && !dvarbool( "wideScreen" ) )
		}
		itemDef
		{
			rect 240 26 20 80 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
			visible when ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) && !dvarbool( "wideScreen" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_playercard_icon_popup"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		execKey "BUTTON_LTRIG"
		{
			if ( localvarint( "ui_pageIndex" ) )
			{
				setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
			}
		}
		execKey "BUTTON_RTRIG"
		{
			if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
			{
				setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
			}
		}
		execKey "BUTTON_LSHLDR"
		{
			if ( localvarint( "ui_pageIndex" ) )
			{
				setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
			}
		}
		execKey "BUTTON_RSHLDR"
		{
			if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
			{
				setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
			}
		}
		onOpen
		{
			setLocalVarInt "ui_pageIndex" ( 0 );
			setLocalVarInt "ui_numPages" ( 0 );
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 1 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 1 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 2 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 2 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 3 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 3 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 4 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 4 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 5 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 5 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 6 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 6 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 7 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 7 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 8 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 8 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 9 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 9 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 10 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 10 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 11 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 11 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 12 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 12 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 13 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 13 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 14 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 14 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 15 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 15 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 16 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 16 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 17 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 17 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 18 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 18 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 19 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 19 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 20 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 20 );
			}
			if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 21 * 48 ) , 0 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 21 );
			}
			focusfirst;
		}
		onClose
		{
			execnow "uploadstats";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -320 0 640 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MENU_EMBLEM_CAPS"
		}
		itemDef
		{
			rect 0 28 640 356 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 356 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 384 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 384 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 384 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 356 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 0 0 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_statusString"
			visible when ( !dvarint( "xblive_privatematch" ) && inlobby( ) )
		}
		itemDef
		{
			rect -272 0 272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_partyPlayerCount"
			visible when ( !inlobby( ) )
		}
		itemDef
		{
			rect -272 28 544 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 6
			textalignx -4
			textscale 0.3333
			visible when ( 1 )
			exp text ( locstring( "@MPUI_PAGE_N_SLASH_N" , ( localvarint( "ui_pageIndex" ) + 1 ) , ( localvarint( "ui_numPages" ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 208 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( 0 - ( ( 208 ) / 2 ) )
			exp rect y ( ( 28 + 4 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( 0 - ( ( 208 ) / 2 ) )
			exp rect y ( ( 28 + 4 ) - 2 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( 0 - ( ( 208 ) / 2 ) )
			exp rect y ( ( 28 + 4 ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( 0 - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 28 + 4 ) ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 - ( ( 208 ) / 2 ) ) + 158 )
			exp rect y ( ( ( 28 + 4 ) ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			name "cardIcon1_0"
			rect -224 68.6667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -208 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -218 104.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 114.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon2_0"
			rect -224 117.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -208 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -218 153.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 163.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon3_0"
			rect -224 166 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -208 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -218 202 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 212 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon4_0"
			rect -224 214.667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -208 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -218 250.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 260.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon5_0"
			rect -224 263.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -208 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -218 299.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 309.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon6_0"
			rect -224 312 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 0 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 0 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 0 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 0 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 0 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 0 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 0 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 0 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -208 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -218 348 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 358 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -208 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon1_1"
			rect -170.667 68.6667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -154.667 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -164.667 104.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 114.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon2_1"
			rect -170.667 117.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -154.667 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -164.667 153.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 163.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon3_1"
			rect -170.667 166 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -154.667 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -164.667 202 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 212 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon4_1"
			rect -170.667 214.667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -154.667 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -164.667 250.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 260.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon5_1"
			rect -170.667 263.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -154.667 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -164.667 299.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 309.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon6_1"
			rect -170.667 312 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 1 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 1 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 1 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 1 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 1 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 1 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 1 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 1 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -154.667 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -164.667 348 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 358 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -154.667 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon1_2"
			rect -117.333 68.6667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -101.333 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -111.333 104.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 114.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon2_2"
			rect -117.333 117.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -101.333 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -111.333 153.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 163.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon3_2"
			rect -117.333 166 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -101.333 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -111.333 202 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 212 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon4_2"
			rect -117.333 214.667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -101.333 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -111.333 250.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 260.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon5_2"
			rect -117.333 263.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -101.333 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -111.333 299.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 309.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon6_2"
			rect -117.333 312 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 2 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 2 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 2 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 2 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 2 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 2 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 2 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 2 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -101.333 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -111.333 348 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 358 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -101.333 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon1_3"
			rect -64 68.6667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -48 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -58 104.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 114.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon2_3"
			rect -64 117.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -48 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -58 153.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 163.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon3_3"
			rect -64 166 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -48 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -58 202 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 212 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon4_3"
			rect -64 214.667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -48 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -58 250.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 260.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon5_3"
			rect -64 263.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -48 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -58 299.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 309.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon6_3"
			rect -64 312 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 3 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 3 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 3 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 3 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 3 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 3 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 3 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 3 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect -48 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -58 348 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 358 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect -48 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon1_4"
			rect -10.6667 68.6667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 5.33333 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -4.66667 104.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 114.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon2_4"
			rect -10.6667 117.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 5.33333 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -4.66667 153.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 163.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon3_4"
			rect -10.6667 166 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 5.33333 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -4.66667 202 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 212 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon4_4"
			rect -10.6667 214.667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 5.33333 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -4.66667 250.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 260.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon5_4"
			rect -10.6667 263.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 5.33333 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -4.66667 299.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 309.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon6_4"
			rect -10.6667 312 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 4 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 4 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 4 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 4 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 4 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 4 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 4 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 4 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 5.33333 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect -4.66667 348 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 358 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 5.33333 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon1_5"
			rect 42.6667 68.6667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 58.6667 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 48.6667 104.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 114.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon2_5"
			rect 42.6667 117.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 58.6667 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 48.6667 153.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 163.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon3_5"
			rect 42.6667 166 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 58.6667 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 48.6667 202 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 212 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon4_5"
			rect 42.6667 214.667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 58.6667 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 48.6667 250.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 260.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon5_5"
			rect 42.6667 263.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 58.6667 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 48.6667 299.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 309.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon6_5"
			rect 42.6667 312 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 5 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 5 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 5 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 5 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 5 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 5 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 5 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 5 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 58.6667 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 48.6667 348 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 358 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 58.6667 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon1_6"
			rect 96 68.6667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 112 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 102 104.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 114.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon2_6"
			rect 96 117.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 112 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 102 153.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 163.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon3_6"
			rect 96 166 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 112 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 102 202 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 212 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon4_6"
			rect 96 214.667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 112 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 102 250.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 260.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon5_6"
			rect 96 263.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 112 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 102 299.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 309.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon6_6"
			rect 96 312 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 6 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 6 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 6 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 6 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 6 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 6 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 6 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 6 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 6 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 6 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 112 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 102 348 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 358 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 112 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon1_7"
			rect 149.333 68.6667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon1_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon1_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon1_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon1_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon1_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon1_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon1_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon1_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon1_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon1_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon1_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 165.333 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 155.333 104.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 114.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 84.6667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon2_7"
			rect 149.333 117.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon2_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon2_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon2_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon2_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon2_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon2_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon2_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon2_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon2_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon2_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon2_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 165.333 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 155.333 153.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 163.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 133.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon3_7"
			rect 149.333 166 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon3_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon3_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon3_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon3_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon3_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon3_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon3_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon3_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon3_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon3_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon3_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 165.333 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 155.333 202 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 212 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 182 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon4_7"
			rect 149.333 214.667 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon4_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon4_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon4_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon4_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon4_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon4_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon4_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon4_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon4_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon4_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon4_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 165.333 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 155.333 250.667 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 260.667 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 230.667 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon5_7"
			rect 149.333 263.333 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon5_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon5_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon5_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon5_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon5_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon5_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon5_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon5_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon5_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon5_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon5_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 165.333 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 155.333 299.333 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 309.333 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 279.333 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			name "cardIcon6_7"
			rect 149.333 312 74.6667 74.6667 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
			exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 7 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "cardIcon6_7";
					}
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon6_0";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 7 == 7 )
				{
					setfocus "cardIcon6_6";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 7 == 0 )
				{
					setfocus "cardIcon6_1";
				}
				if ( 7 == 1 )
				{
					setfocus "cardIcon6_2";
				}
				if ( 7 == 2 )
				{
					setfocus "cardIcon6_3";
				}
				if ( 7 == 3 )
				{
					setfocus "cardIcon6_4";
				}
				if ( 7 == 4 )
				{
					setfocus "cardIcon6_5";
				}
				if ( 7 == 5 )
				{
					setfocus "cardIcon6_6";
				}
				if ( 7 == 6 )
				{
					setfocus "cardIcon6_7";
				}
				if ( 7 == 7 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "cardIcon6_0";
					}
				}
			}
			action
			{
				if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
				{
					play "mouse_click";
					setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
					setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
				if ( localvarstring( "ui_tempVar" ) != "" )
				{
					setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
				}
			}
		}
		itemDef
		{
			rect 165.333 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
		}
		itemDef
		{
			rect 155.333 348 60 40 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 358 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
		}
		itemDef
		{
			rect 165.333 328 42.6667 42.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardicon_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
		}
		itemDef
		{
			rect -272 140 -32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
			visible when ( localvarint( "ui_pageIndex" ) )
		}
		itemDef
		{
			rect 240 140 32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
			visible when ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
	}
	menuDef
	{
		name "popup_gamesetup"
		rect -64 0 280 0 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarfloat( "ui_popup_gamesetup_ypos" ) )
		onOpen
		{
			setLocalVarFloat "ui_popup_gamesetup_ypos" ( localvarfloat( "ui_popupYPos" ) );
			setLocalVarInt "ui_leftPopup" ( 1 );
			if ( dvarbool( "useonlinestats" ) )
			{
				exec "set ui_useonlinestats_button_name @PLATFORM_USEONLINESTATS_TRUE";
			}
			else
			{
				exec "set ui_useonlinestats_button_name @PLATFORM_USEONLINESTATS_FALSE";
			}
			if ( dvarint( "sv_privateClients" ) == dvarint( "party_maxPlayers" ) )
			{
				exec "set ui_jip_button_name @MPUI_JOININPROGRESS_NOT_ALLOWED";
			}
			else
			{
				exec "set ui_jip_button_name @MPUI_JOININPROGRESS_ALLOWED";
			}
		}
		onClose
		{
			setLocalVarInt "ui_leftPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
			exp rect h ( 24 + ( 4 ) * 20 )
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + ( 4 ) * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + ( 4 ) * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 280 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + ( 4 ) * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( 4 ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( 4 ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( 4 ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + ( 4 ) * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 -256 0 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.35 0.35 0.35 1
			background "gradient_slow_fadein"
			textscale 0.55
			exp rect h ( 24 + ( 4 ) * 20 )
		}
		itemDef
		{
			rect -64 0 280 22 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.25
			background "gradient_fadein"
			textfont 9
			textalign 6
			textalignx -4
			textscale 0.375
			text "@MENU_GAME_SETUP_CAPS"
		}
		itemDef
		{
			name "settings_change_map"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CHANGE_MAP_CAPS"
			action
			{
				play "mouse_click";
				open "settings_map";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "settings_change_gamemode"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CHANGE_GAME_MODE_CAPS"
			action
			{
				play "mouse_click";
				open "settings_gametype";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "settings_change_gamerules"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CHANGE_GAME_RULES_CAPS"
			action
			{
				play "mouse_click";
				uiScript "openMenuOnDvar" "ui_gametype" "arena" "settings_quick_arena";
				uiScript "openMenuOnDvar" "ui_gametype" "war" "settings_quick_war";
				uiScript "openMenuOnDvar" "ui_gametype" "sd" "settings_quick_sd";
				uiScript "openMenuOnDvar" "ui_gametype" "sab" "settings_quick_sab";
				uiScript "openMenuOnDvar" "ui_gametype" "dm" "settings_quick_dm";
				uiScript "openMenuOnDvar" "ui_gametype" "dom" "settings_quick_dom";
				uiScript "openMenuOnDvar" "ui_gametype" "ctf" "settings_quick_ctf";
				uiScript "openMenuOnDvar" "ui_gametype" "koth" "settings_quick_koth";
				uiScript "openMenuOnDvar" "ui_gametype" "oneflag" "settings_quick_oneflag";
				uiScript "openMenuOnDvar" "ui_gametype" "dd" "settings_quick_dd";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "settings_offlineoptions"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( dvarbool( "systemlink" ) || dvarbool( "splitscreen" ) ) && dvarbool( "iwnet_allclientsauthed" ) )
			exp text ( dvarstring( "ui_useonlinestats_button_name" ) )
			action
			{
				play "mouse_click";
				if ( dvarbool( "useonlinestats" ) )
				{
					exec "set useonlinestats 0";
					exec "set ui_useonlinestats_button_name @PLATFORM_USEONLINESTATS_FALSE";
				}
				else
				{
					open "popup_statswarning";
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx 24
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) - localvarfloat( "ui_popup_gamesetup_ypos" ) )
			visible when ( localvarbool( "ui_popupAButton" ) && !localvarint( "ui_centerPopup" ) )
		}
	}
	menuDef
	{
		name "popup_statswarning"
		rect -150 -104 300 104 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "statswarning_no";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 300 104 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -214 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -168 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_USE_ONLINE_STATS"
		}
		itemDef
		{
			rect -146 -80 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MPUI_ONLINE_STATS_WARNING"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "statswarning_yes"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				close self;
				execnow "set useonlinestats 1";
				execnow "set ui_useonlinestats_button_name @PLATFORM_USEONLINESTATS_TRUE";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "statswarning_no"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -104 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "popup_callsign"
		rect -64 0 280 0 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarfloat( "ui_popup_callsign_ypos" ) )
		onOpen
		{
			setLocalVarFloat "ui_popup_callsign_ypos" ( localvarfloat( "ui_popupYPos" ) );
			setLocalVarInt "ui_leftPopup" ( 1 );
		}
		onClose
		{
			setLocalVarInt "ui_leftPopup" ( 0 );
			if ( dvarbool( "splitscreen" ) )
			{
				execnow "splitscreencontrols";
			}
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
			exp rect h ( 24 + ( 7 ) * 20 )
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + ( 7 ) * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + ( 7 ) * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 280 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + ( 7 ) * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( 7 ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( 7 ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( 7 ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + ( 7 ) * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 -256 0 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.35 0.35 0.35 1
			background "gradient_slow_fadein"
			textscale 0.55
			exp rect h ( 24 + ( 7 ) * 20 )
		}
		itemDef
		{
			rect 216 0 -640 0 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.35 0.35 0.35 1
			background "gradient_fadein"
			textscale 0.55
			exp rect h ( 24 + ( 7 ) * 20 )
		}
		itemDef
		{
			rect -64 0 208 70 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
			exp rect x ( ( ( 216 + 64 + 64 ) ) )
			exp rect y ( ( 6 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect -64 0 208 70 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_248x48"
			textfont 6
			textalign 4
			textaligny -20
			textscale 0.375
			textstyle 7
			exp rect x ( ( ( 216 + 64 + 64 ) ) )
			exp rect y ( ( 6 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect -64 0 160 32 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 216 + 64 + 64 ) )
			exp rect y ( 6 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect -64 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 216 + 64 + 64 ) )
			exp rect y ( ( 6 ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect -64 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 216 + 64 + 64 ) ) + 160 )
			exp rect y ( ( 6 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect -64 0 208 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textalignx 8
			textscale 0.375
			textstyle 7
			exp rect x ( ( ( 216 + 64 + 64 ) ) )
			exp rect y ( ( 6 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && getplayercardinfo( 9 , 1 , 0 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 1 , 0 ) + "]" )
		}
		itemDef
		{
			rect -64 0 20 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 216 + 64 + 64 ) ) + 164 )
			exp rect y ( ( 6 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , ( getplayercardinfo( 5 , 1 , 0 ) + 1 ) ) )
		}
		itemDef
		{
			rect -64 0 20 20 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textalignx 20
			textscale 0.375
			textstyle 7
			exp rect x ( ( ( 216 + 64 + 64 ) ) + 164 )
			exp rect y ( ( 6 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , 14 ) )
		}
		itemDef
		{
			rect 280 78 208 20 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 5
			textscale 0.3333
			text "@MPUI_KILLSTREAKS"
		}
		itemDef
		{
			rect 280 96 66 64 1 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 280 96 66 64 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "gradient_inset_rect"
			textscale 0.55
		}
		itemDef
		{
			rect 351 96 66 64 1 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 351 96 66 64 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "gradient_inset_rect"
			textscale 0.55
		}
		itemDef
		{
			rect 422 96 66 64 1 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 422 96 66 64 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "gradient_inset_rect"
			textscale 0.55
		}
		itemDef
		{
			rect 297 106 32 32 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 1
			textfont 3
			textalign 13
			textaligny 18
			textscale 0.375
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 0 ) , 4 ) ) ) )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 0 ) , 14 ) )
		}
		itemDef
		{
			rect 368 106 32 32 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 1
			textfont 3
			textalign 13
			textaligny 18
			textscale 0.375
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 1 ) , 4 ) ) ) )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 1 ) , 14 ) )
		}
		itemDef
		{
			rect 439 106 32 32 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 1
			textfont 3
			textalign 13
			textaligny 18
			textscale 0.375
			exp text ( locstring( "@MPUI_N_KILLS" , int( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 2 ) , 4 ) ) ) )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , getplayerdata( "killstreaks" , 2 ) , 14 ) )
		}
		itemDef
		{
			rect -64 0 280 22 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.25
			background "gradient_fadein"
			textfont 9
			textalign 6
			textalignx -4
			textscale 0.375
			text "@MENU_PLAYERCARD"
		}
		itemDef
		{
			name "settings_change_title"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_TITLE_CAPS"
			disabled when ( !isitemunlocked( "playercard_title" ) && ( getplayerdata( "prestige" ) == 0 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "featureNew" , "playercard_title" , "false" );
				open "menu_playercard_title_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( isitemunlocked( "playercard_title" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_TITLE" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_title" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_title" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "playercard_title" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdataanybooltrue( "titleNew" ) || getplayerdata( "featureNew" , "playercard_title" ) ) )
		}
		itemDef
		{
			name "settings_change_icon"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_EMBLEM_CAPS"
			disabled when ( !isitemunlocked( "playercard_icon" ) && ( getplayerdata( "prestige" ) == 0 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "featureNew" , "playercard_icon" , "false" );
				open "menu_playercard_icon_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( isitemunlocked( "playercard_icon" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_ICON" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_icon" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "playercard_icon" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "playercard_icon" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdataanybooltrue( "iconNew" ) || getplayerdata( "featureNew" , "playercard_icon" ) ) )
		}
		itemDef
		{
			rect -64 64 280 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
			visible when ( !dvarbool( "onlinegame" ) )
		}
		itemDef
		{
			name "settings_change_cas"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_KILLSTREAK_REWARDS_CAPS"
			visible when ( !dvarbool( "onlinegame" ) )
			disabled when ( !isitemunlocked( "cas" ) )
			action
			{
				play "mouse_click";
				open "menu_cas_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( isitemunlocked( "cas" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_KILLSTREAK_REWARDS" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_KILLSTREAK_REWARDS_LOCKED" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "featureNew" , "cas" ) || getplayerdata( "featureNew" , "token_1" ) || getplayerdata( "featureNew" , "token_2" ) || getplayerdata( "featureNew" , "token_3" ) || getplayerdata( "featureNew" , "token_4" ) || getplayerdata( "featureNew" , "token_5" ) || getplayerdata( "featureNew" , "token_6" ) || getplayerdata( "featureNew" , "token_7" ) || getplayerdata( "featureNew" , "token_8" ) || getplayerdata( "featureNew" , "token_9" ) || getplayerdata( "featureNew" , "token_10" ) || getplayerdata( "featureNew" , "token_11" ) || getplayerdata( "featureNew" , "token_12" ) ) && !dvarbool( "onlinegame" ) )
		}
		itemDef
		{
			name "settings_change_clantag"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_CLAN_TAG_CAPS"
			visible when ( dvarbool( "onlinegame" ) )
			disabled when ( !isitemunlocked( "clantag" ) && ( getplayerdata( "prestige" ) == 0 ) )
			action
			{
				play "mouse_click";
				setPlayerData( "featureNew" , "clantag" , "false" );
				execnow "editclanname";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( !isitemunlocked( "clantag" ) && ( getplayerdata( "prestige" ) == 0 ) )
				{
					if ( isitemunlocked( "clantag" ) )
					{
						setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CLANTAG" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "clantag" , 2 ) == 9999 )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
						}
						else
						{
							if ( tablelookup( "mp/unlockTable.csv" , 0 , "clantag" , 3 ) != "" )
							{
								setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
							}
							else
							{
								setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "clantag" , 2 ) , 17 ) );
							}
						}
						exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
					}
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CLANTAG" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "featureNew" , "clantag" ) && dvarbool( "onlinegame" ) )
		}
		itemDef
		{
			rect -64 84 280 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
			visible when ( dvarbool( "onlinegame" ) )
		}
		itemDef
		{
			name "settings_change_cas"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_KILLSTREAK_REWARDS_CAPS"
			visible when ( dvarbool( "onlinegame" ) )
			disabled when ( !isitemunlocked( "cas" ) )
			action
			{
				play "mouse_click";
				open "menu_cas_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				if ( isitemunlocked( "cas" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_KILLSTREAK_REWARDS" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_KILLSTREAK_REWARDS_LOCKED" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "featureNew" , "cas" ) || getplayerdata( "featureNew" , "token_1" ) || getplayerdata( "featureNew" , "token_2" ) || getplayerdata( "featureNew" , "token_3" ) || getplayerdata( "featureNew" , "token_4" ) || getplayerdata( "featureNew" , "token_5" ) || getplayerdata( "featureNew" , "token_6" ) || getplayerdata( "featureNew" , "token_7" ) || getplayerdata( "featureNew" , "token_8" ) || getplayerdata( "featureNew" , "token_9" ) || getplayerdata( "featureNew" , "token_10" ) || getplayerdata( "featureNew" , "token_11" ) || getplayerdata( "featureNew" , "token_12" ) ) && dvarbool( "onlinegame" ) )
		}
		itemDef
		{
			rect 0 124 216 20 1 1
			group "mw2_popup_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			exp text ( localvarstring( "ui_hint_text" ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx 24
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) - localvarfloat( "ui_popup_callsign_ypos" ) )
			visible when ( localvarbool( "ui_popupAButton" ) && !localvarint( "ui_centerPopup" ) )
		}
	}
	menuDef
	{
		name "callsign_popup_preview"
		rect 0 0 640 480 4 4
		style 1
		decoration
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 0
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			lerp x "from" "300" "to" 0 "over" "0.15";
		}
		onRequestClose
		{
			lerp x "from" 0 "to" "300" "over" "0.15";
		}
		onClose
		{
			if ( dvarbool( "splitscreen" ) )
			{
				execnow "splitscreencontrols";
			}
		}
		itemDef
		{
			rect -258 28 336 88 3 1
			style 3
			decoration
			visible 1
			forecolor 0.45 0.45 0.45 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -258 28 336 88 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -290 -4 32 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -258 -4 336 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 78 -4 32 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 78 28 32 88 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 78 116 32 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -258 116 336 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -290 116 32 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -290 28 32 88 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 0 208 70 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 38 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 208 70 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_248x48"
			textfont 6
			textalign 4
			textaligny -20
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 38 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 248 )
			exp rect y ( 38 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( - 248 )
			exp rect y ( ( 38 ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 160 )
			exp rect y ( ( 38 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textalignx 8
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 38 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && getplayercardinfo( 9 , 1 , 0 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 1 , 0 ) + "]" )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 164 )
			exp rect y ( ( 38 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , ( getplayercardinfo( 5 , 1 , 0 ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textalignx 20
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 164 )
			exp rect y ( ( 38 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , 14 ) )
		}
	}
	menuDef
	{
		name "menu_online_barracks"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MPUI_BARRACKS_CAP"
		}
		itemDef
		{
			rect -272 0 0 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_statusString"
			visible when ( !dvarint( "xblive_privatematch" ) && inlobby( ) )
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_CHALLENGES_CAPS"
			disabled when ( !isitemunlocked( "challenges" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "featureNew" , "challenges" , "false" );
				open "menu_challenges";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "challenges" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CHALLENGES" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "challenges" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "challenges" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "challenges" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_HIGHLIGHTS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_records";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_HIGHLIGHTS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEADERBOARDS_CAP"
			action
			{
				play "mouse_click";
				open "menu_leaderboards";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_LEADERBOARDS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 28 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdataanybooltrue( "challengeTierNew" ) || getplayerdata( "featureNew" , "challenges" ) ) && isitemunlocked( "challenges" ) )
		}
		itemDef
		{
			rect 0 88 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
			visible when ( ( getplayerdata( "prestige" ) == int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) == 0 )
		}
		itemDef
		{
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_PRESTIGE_MODE_CAPS"
			visible when ( !( getplayerdata( "prestige" ) == int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) )
			disabled when ( !( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && !( getplayerdata( "prestige" ) == int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) )
			action
			{
				play "mouse_click";
				open "prestige_reset1";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( !( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PRESTIGE2" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PRESTIGE" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				setPlayerData( "featureNew" , "prestige" , "false" );
			}
		}
		itemDef
		{
			rect 232 88 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && getplayerdata( "featureNew" , "prestige" ) )
		}
		itemDef
		{
			rect 0 220 212 18 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -44 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect 0 0 208 70 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 208 70 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_248x48"
			textfont 6
			textalign 4
			textaligny -20
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 208 )
			exp rect y ( 18 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( - 208 )
			exp rect y ( ( 18 ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 208 ) + 160 )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textalignx 8
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && getplayercardinfo( 9 , 1 , 0 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 1 , 0 ) + "]" )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 208 ) + 164 )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , ( getplayercardinfo( 5 , 1 , 0 ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textalignx 20
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) + 164 )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , 14 ) )
		}
		itemDef
		{
			rect -208 90 -208 270 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -208 90 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_RANK_PRE" )
		}
		itemDef
		{
			rect -208 90 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( 1 )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
		}
		itemDef
		{
			rect -18 91 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( 1 )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect -208 110 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_XP_PRE" )
		}
		itemDef
		{
			rect -208 110 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "experience" ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) + 1 , 5 ) )
		}
		itemDef
		{
			rect -18 131 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) + 1 , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp text ( "@MPUI_PRESTIGE" )
		}
		itemDef
		{
			rect -18 131 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , 0 , getplayerdata( "prestige" ) + 2 ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NONE" )
		}
		itemDef
		{
			rect -80 152 80 16 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.35
			background "black"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -80 154 25 12 3 1
			style 3
			decoration
			visible 1
			forecolor 1 0.9 0.5 0.6
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( 0 - 80 * ( int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) - getplayerdata( "experience" ) ) / int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 3 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -208 150 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_XP_REQUIRED_PRE" )
		}
		itemDef
		{
			rect -208 150 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 7 ) - getplayerdata( "experience" ) ) )
		}
		itemDef
		{
			rect -208 170 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_SCORE_PRE" )
		}
		itemDef
		{
			rect -208 170 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "score" ) )
		}
		itemDef
		{
			rect -208 190 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_WINS_PRE" )
		}
		itemDef
		{
			rect -208 190 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "wins" ) )
		}
		itemDef
		{
			rect -208 210 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_LOSSES_PRE" )
		}
		itemDef
		{
			rect -208 210 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "losses" ) )
		}
		itemDef
		{
			rect -208 230 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_TIES_PRE" )
		}
		itemDef
		{
			rect -208 230 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "ties" ) )
		}
		itemDef
		{
			rect -208 250 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_WINSTREAK_PRE" )
		}
		itemDef
		{
			rect -208 250 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "winStreak" ) )
		}
		itemDef
		{
			rect -208 270 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_KILLS_PRE" )
		}
		itemDef
		{
			rect -208 270 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "kills" ) )
		}
		itemDef
		{
			rect -208 290 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_HEADSHOTS_PRE" )
		}
		itemDef
		{
			rect -208 290 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "headshots" ) )
		}
		itemDef
		{
			rect -208 310 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_ASSISTS_PRE" )
		}
		itemDef
		{
			rect -208 310 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "assists" ) )
		}
		itemDef
		{
			rect -208 330 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_STREAK_PRE" )
		}
		itemDef
		{
			rect -208 330 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "killStreak" ) )
		}
		itemDef
		{
			rect -208 350 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_DEATHS_PRE" )
		}
		itemDef
		{
			rect -208 350 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "deaths" ) )
		}
		itemDef
		{
			rect -208 370 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_TIME_PLAYED_PRE" )
		}
		itemDef
		{
			rect -208 370 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( secondsastime( getplayerdata( "timePlayedAllies" ) + getplayerdata( "timePlayedOpfor" ) + getplayerdata( "timePlayedOther" ) ) )
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.45
			background "shadow_inset"
			textscale 0.55
		}
		itemDef
		{
			rect 0 -18 726 18 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			type 20
			textscale 0.375
			newsfeed 1
			speed 50
			spacing 30
			exp rect w ( 544 + ( dvarint( "widescreen" ) * 182 ) )
		}
		itemDef
		{
			rect -107 0 854 480 0 0
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_offline_barracks"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
			execnow "nosplitscreen";
		}
		onClose
		{
			if ( dvarbool( "splitscreen" ) )
			{
				execnow "splitscreencontrols";
			}
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MPUI_BARRACKS_CAP"
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_CHALLENGES_CAPS"
			disabled when ( !isitemunlocked( "challenges" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "featureNew" , "challenges" , "false" );
				open "menu_challenges";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "challenges" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CHALLENGES" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "challenges" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "challenges" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "challenges" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 28 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdataanybooltrue( "challengeTierNew" ) || getplayerdata( "featureNew" , "challenges" ) ) && isitemunlocked( "challenges" ) )
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_HIGHLIGHTS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_records";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_HIGHLIGHTS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 68 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
			visible when ( ( getplayerdata( "prestige" ) == int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) == 0 )
		}
		itemDef
		{
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_PRESTIGE_MODE_CAPS"
			visible when ( !( getplayerdata( "prestige" ) == int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) )
			disabled when ( !( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && !( getplayerdata( "prestige" ) == int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) )
			action
			{
				play "mouse_click";
				open "prestige_reset1";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( !( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PRESTIGE2" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PRESTIGE" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				setPlayerData( "featureNew" , "prestige" , "false" );
			}
		}
		itemDef
		{
			rect 232 68 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && getplayerdata( "featureNew" , "prestige" ) )
		}
		itemDef
		{
			rect 0 220 212 18 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect 0 0 208 70 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 208 70 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_248x48"
			textfont 6
			textalign 4
			textaligny -20
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 208 )
			exp rect y ( 18 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( - 208 )
			exp rect y ( ( 18 ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 208 ) + 160 )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textalignx 8
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && getplayercardinfo( 9 , 1 , 0 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 1 , 0 ) + "]" )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 208 ) + 164 )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , ( getplayercardinfo( 5 , 1 , 0 ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textalignx 20
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) + 164 )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , 14 ) )
		}
		itemDef
		{
			rect -208 90 -208 270 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -208 90 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_RANK_PRE" )
		}
		itemDef
		{
			rect -208 90 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( 1 )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
		}
		itemDef
		{
			rect -18 91 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( 1 )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect -208 110 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_XP_PRE" )
		}
		itemDef
		{
			rect -208 110 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "experience" ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) + 1 , 5 ) )
		}
		itemDef
		{
			rect -18 131 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) + 1 , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp text ( "@MPUI_PRESTIGE" )
		}
		itemDef
		{
			rect -18 131 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , 0 , getplayerdata( "prestige" ) + 2 ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NONE" )
		}
		itemDef
		{
			rect -80 152 80 16 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.35
			background "black"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -80 154 25 12 3 1
			style 3
			decoration
			visible 1
			forecolor 1 0.9 0.5 0.6
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( 0 - 80 * ( int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) - getplayerdata( "experience" ) ) / int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 3 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -208 150 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_XP_REQUIRED_PRE" )
		}
		itemDef
		{
			rect -208 150 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 7 ) - getplayerdata( "experience" ) ) )
		}
		itemDef
		{
			rect -208 170 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_SCORE_PRE" )
		}
		itemDef
		{
			rect -208 170 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "score" ) )
		}
		itemDef
		{
			rect -208 190 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_WINS_PRE" )
		}
		itemDef
		{
			rect -208 190 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "wins" ) )
		}
		itemDef
		{
			rect -208 210 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_LOSSES_PRE" )
		}
		itemDef
		{
			rect -208 210 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "losses" ) )
		}
		itemDef
		{
			rect -208 230 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_TIES_PRE" )
		}
		itemDef
		{
			rect -208 230 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "ties" ) )
		}
		itemDef
		{
			rect -208 250 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_WINSTREAK_PRE" )
		}
		itemDef
		{
			rect -208 250 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "winStreak" ) )
		}
		itemDef
		{
			rect -208 270 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_KILLS_PRE" )
		}
		itemDef
		{
			rect -208 270 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "kills" ) )
		}
		itemDef
		{
			rect -208 290 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_HEADSHOTS_PRE" )
		}
		itemDef
		{
			rect -208 290 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "headshots" ) )
		}
		itemDef
		{
			rect -208 310 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_ASSISTS_PRE" )
		}
		itemDef
		{
			rect -208 310 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "assists" ) )
		}
		itemDef
		{
			rect -208 330 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_STREAK_PRE" )
		}
		itemDef
		{
			rect -208 330 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "killStreak" ) )
		}
		itemDef
		{
			rect -208 350 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_DEATHS_PRE" )
		}
		itemDef
		{
			rect -208 350 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "deaths" ) )
		}
		itemDef
		{
			rect -208 370 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_TIME_PLAYED_PRE" )
		}
		itemDef
		{
			rect -208 370 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( secondsastime( getplayerdata( "timePlayedAllies" ) + getplayerdata( "timePlayedOpfor" ) + getplayerdata( "timePlayedOther" ) ) )
		}
		itemDef
		{
			rect -107 0 854 480 0 0
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "prestige_reset1"
		rect -150 -102 300 204 2 2
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		exp rect y ( 0 - ( 24 + 9 * 20 ) / 2 )
		onOpen
		{
			setfocus "cancel_button";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -582 3416 1920 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -582 3416 1920 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -427 -102 854 204 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -102 1708 480 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -102 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -427 -102 854 0 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 9 * 20 ) )
		}
		itemDef
		{
			rect -150 -102 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -102 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -491 -166 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -427 -166 854 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 -166 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 -102 64 204 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 102 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -427 102 854 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -491 102 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -491 -102 64 204 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -102 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			exp text ( "@MENU_PRESTIGE_RESET_TITLE1" )
		}
		itemDef
		{
			rect -146 -78 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textscale 0.375
			exp text ( "@MENU_PRESTIGE_RESET_WARNING1" )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -146 62 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_flipped"
			type 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			text "@MENU_PRESTIGE_RESET_TITLE2"
			action
			{
				play "mouse_click";
				close self open "prestige_reset2";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cancel_button"
			rect -146 82 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_flipped"
			type 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			text "@MENU_CANCEL"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -102 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -14
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 9 * 20 ) / 2 ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "prestige_reset2"
		rect -150 -102 300 204 2 2
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		exp rect y ( 0 - ( 24 + 9 * 20 ) / 2 )
		onOpen
		{
			setfocus "cancel_button";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -582 3416 1920 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -582 3416 1920 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -427 -102 854 204 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -102 1708 480 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -102 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -427 -102 854 0 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 9 * 20 ) )
		}
		itemDef
		{
			rect -150 -102 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -102 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -491 -166 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -427 -166 854 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 -166 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 -102 64 204 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 102 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -427 102 854 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -491 102 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -491 -102 64 204 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -102 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			exp text ( "@MENU_PRESTIGE_RESET_TITLE2" )
		}
		itemDef
		{
			rect -146 -78 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textscale 0.375
			exp text ( "@MENU_PRESTIGE_RESET_WARNING2" )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -146 62 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_flipped"
			type 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			text "@MENU_CONTINUE"
			action
			{
				play "mouse_click";
				close self play "consider_prestige" open "prestige_reset3";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cancel_button"
			rect -146 82 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_flipped"
			type 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			text "@MENU_CANCEL"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
	}
	menuDef
	{
		name "prestige_reset3"
		rect -150 -102 300 204 2 2
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		exp rect y ( 0 - ( 24 + 9 * 20 ) / 2 )
		onOpen
		{
			setfocus "cancel_button";
			setLocalVarInt "ui_prestigeState" ( getplayerdata( "prestige" ) + 2 );
			setLocalVarInt "ui_prestigeProgress" ( getplayerdata( "prestige" ) + 1 );
		}
		onEsc
		{
			close self;
			play "exit_prestige";
		}
		itemDef
		{
			rect -1004 -582 3416 1920 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -582 3416 1920 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -427 -102 854 204 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -102 1708 480 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -102 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -427 -102 854 0 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 9 * 20 ) )
		}
		itemDef
		{
			rect -150 -102 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -102 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -491 -166 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -427 -166 854 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 -166 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 -102 64 204 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 102 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -427 102 854 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -491 102 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -491 -102 64 204 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -102 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			exp text ( "@MENU_PRESTIGE_RESET_TITLE3" )
		}
		itemDef
		{
			rect -146 -78 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 4
			textscale 0.375
			exp text ( "@MENU_PRESTIGE_RESET_WARNING3" )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -146 62 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_flipped"
			type 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			text "@MENU_PRESTIGE_ENTER"
			action
			{
				play "mouse_click";
				play "enter_prestige";
				execnow "prestigeReset";
				if ( getplayerdata( "prestige" ) == 10 )
				{
					setPlayerData( "challengeState" , "ch_prestige_10" , 2 ) setPlayerData( "challengeProgress" , "ch_prestige_10" , 1 );
				}
				else
				{
					setPlayerData( "challengeState" , "ch_prestige" , "localVarInt" ( "ui_prestigeState" ) ) setPlayerData( "challengeProgress" , "ch_prestige" , "localVarInt" ( "ui_prestigeProgress" ) );
				}
				execnow "updategamerprofile";
				"uploadStats";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cancel_button"
			rect -146 82 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_flipped"
			type 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			text "@MENU_CANCEL"
			action
			{
				play "mouse_click";
				play "exit_prestige";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
	}
	menuDef
	{
		name "menu_challenges"
		rect 0 0 640 480 0 0
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		blurWorld 5
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
			setLocalVarInt "ui_centerPopup" ( "false" );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.2
			background "big_menu_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MPUI_CHALLENGE_CAP"
		}
		itemDef
		{
			rect -272 0 272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_statusString"
			visible when ( !dvarint( "xblive_privatematch" ) && inlobby( ) )
		}
		itemDef
		{
			rect -300 45 200 20 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalign 6
			textscale 0.375
			visible when ( dvarbool( "wideScreen" ) )
			exp text ( localvarstring( "ui_selected_tier_ref" ) )
		}
		itemDef
		{
			rect -450 65 350 200 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( dvarbool( "wideScreen" ) )
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect -250 45 250 20 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalign 6
			textalignx -5
			textscale 0.375
			visible when ( !dvarbool( "wideScreen" ) )
			exp text ( localvarstring( "ui_selected_tier_ref" ) )
		}
		itemDef
		{
			rect -250 65 250 200 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textalignx -5
			textscale 0.375
			visible when ( !dvarbool( "wideScreen" ) )
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@CHALLENGE_PRIMARY_WEAPONS_CAPS"
			action
			{
				play "mouse_click";
				setLocalVarInt "ui_tabDepth" ( 0 );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@CHALLENGE_PRIMARY_WEAPONS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@CHALLENGE_PRIMARY_WEAPONS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@CHALLENGE_PRIMARY_WEAPONS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@CHALLENGE_PRIMARY_WEAPONS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@CHALLENGE_PRIMARY_WEAPONS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@CHALLENGE_PRIMARY_WEAPONS_CAPS" );
				}
				open "popup_challenge_weapon_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_selected_tier_ref" ( "@CHALLENGE_PRIMARY_WEAPONS_CAPS" );
				setLocalVarString "ui_hint_text" ( "@CHALLENGE_PRIMARY_WEAPONS_HINT" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 28 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "masada" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m16" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "tavor" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "fn2000" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m4" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "scar" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "ak47" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "fal" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "famas" , 0 ) ) ) ) || ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "mp5k" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "uzi" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "kriss" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "ump45" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "p90" , 0 ) ) ) ) || ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m240" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "sa80" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "rpd" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "aug" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "mg4" , 0 ) ) ) ) || ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "cheytac" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m21" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "barrett" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "wa2000" , 0 ) ) ) ) ) )
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@CHALLENGE_SECONDARY_WEAPONS_CAPS"
			action
			{
				play "mouse_click";
				setLocalVarInt "ui_tabDepth" ( 0 );
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@CHALLENGE_SECONDARY_WEAPONS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@CHALLENGE_SECONDARY_WEAPONS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@CHALLENGE_SECONDARY_WEAPONS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@CHALLENGE_SECONDARY_WEAPONS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@CHALLENGE_SECONDARY_WEAPONS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@CHALLENGE_SECONDARY_WEAPONS_CAPS" );
				}
				open "popup_challenge_weapon_secondary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_selected_tier_ref" ( "@CHALLENGE_SECONDARY_WEAPONS_CAPS" );
				setLocalVarString "ui_hint_text" ( "@CHALLENGE_SECONDARY_WEAPONS_HINT" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 48 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "glock" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "tmp" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "beretta393" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "pp2000" , 0 ) ) ) ) || ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "striker" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "aa12" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "ranger" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m1014" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "model1887" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "spas12" , 0 ) ) ) ) || ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "usp" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "coltanaconda" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "deserteagle" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "beretta" , 0 ) ) ) ) || ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "at4" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "rpg" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "javelin" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "stinger" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m79" , 0 ) ) ) ) ) )
		}
		itemDef
		{
			name "ch_name"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 2 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 2 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 2 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 2 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 2 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 2 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 2 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 2 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 2 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 2 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 2 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 2 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 2 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 68 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 2 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 2 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 2 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 3 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 3 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 3 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 3 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 3 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 3 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 3 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 3 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 3 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 3 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 3 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 3 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 3 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 88 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 3 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 3 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 3 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			rect 0 108 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "ch_name"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 4 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 4 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 4 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 4 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 4 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 4 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 4 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 4 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 4 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 4 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 4 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 4 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 4 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 108 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 4 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 4 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 4 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 5 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 5 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 5 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 5 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 5 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 5 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 5 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 5 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 5 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 5 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 5 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 5 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 5 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 128 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 5 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 5 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 5 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 148 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 6 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 6 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 6 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 6 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 6 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 6 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 6 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 6 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 6 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 6 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 6 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 6 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 6 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 148 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 6 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 6 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 6 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 168 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 7 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 7 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 7 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 7 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 7 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 7 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 7 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 7 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 7 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 7 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 7 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 7 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 7 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 168 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 7 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 7 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 7 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 188 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 8 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 8 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 8 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 8 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 8 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 8 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 8 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 8 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 8 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 8 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 8 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 8 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 8 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 188 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 8 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 8 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 8 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 208 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 9 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 9 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 9 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 9 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 9 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 9 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 9 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 9 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 9 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 9 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 9 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 9 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 9 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 208 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 9 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 9 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 9 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 228 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 10 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 10 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 10 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 10 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 10 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 10 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 10 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 10 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 10 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 10 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 10 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 10 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 10 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 228 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 10 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 10 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 10 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 248 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 11 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 11 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 11 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 11 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 11 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 11 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 11 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 11 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 11 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 11 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 11 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 11 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 11 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 248 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 11 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 11 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 11 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 268 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 12 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 12 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 12 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 12 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 12 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 12 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 12 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 12 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 12 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 12 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 12 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 12 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 12 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 268 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 12 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 12 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 12 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 288 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 13 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 13 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 13 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 13 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 13 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 13 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 13 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 13 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 13 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 13 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 13 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 13 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 13 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 288 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 13 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 13 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 13 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 308 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 14 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 14 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 14 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 14 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 14 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 14 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 14 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 14 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 14 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 14 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 14 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 14 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 14 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 308 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 14 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 14 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 14 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 328 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 15 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 15 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 15 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 15 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 15 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 15 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 15 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 15 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 15 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 15 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 15 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 15 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 15 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 328 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 15 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 15 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 15 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 348 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 16 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 16 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 16 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 16 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 16 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 16 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 16 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 16 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 16 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 16 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 16 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 16 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 16 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 348 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 16 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 16 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 16 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			name "ch_name"
			rect -64 368 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( ( tablelookup( "mp/challengeTable.csv" , 5 , 17 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 17 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( "tier_" + tablelookup( "mp/challengeTable.csv" , 5 , 17 , 0 ) ) )
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 17 , 1 ) )
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 5 , 17 , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "dataValue" ( tablelookup( "mp/challengeTable.csv" , 5 , 17 , 0 ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "dataValue" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "tier_" + ( 17 - 1 ) ) )
				{
					setLocalVarString "ui_hint_text" ( ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 17 , 2 ) ) );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 17 - 1 ) , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 17 - 1 ) , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "tier_" + ( 17 - 1 ) , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
				setLocalVarString "ui_selected_tier_ref" ( "@" + tablelookup( "mp/challengeTable.csv" , 5 , 17 , 1 ) );
				setLocalVarInt "ui_menuIndex" ( 17 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 368 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 5 , 17 , 0 ) ) ) && ( tablelookup( "mp/challengeTable.csv" , 5 , 17 , 5 ) != "" ) && ( !( tablelookup( "mp/challengeTable.csv" , 5 , 17 , 7 ) != "" ) || isitemunlocked( "tier_prestige" ) ) )
			exp material ( "specialty_new" )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_challenge_details"
		rect 0 0 640 480 0 0
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		blurWorld 5
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
			setLocalVarInt "ui_centerPopup" ( "false" );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 28 640 380 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 380 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 408 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 408 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 408 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 380 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "big_menu_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -78
			textscale 0.5
			text "@MPUI_CHALLENGE_CAP"
		}
		itemDef
		{
			rect 0 0 272 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textscale 0.5
			exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 4 , localvarstring( "ui_challengeTierTable" ) , 1 ) )
		}
		itemDef
		{
			rect -272 0 272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			visible when ( !dvarint( "xblive_privatematch" ) )
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 35 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 37 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 37 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 35 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 46 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 46 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 53 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 55 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 55 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 53 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 64 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 64 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 71 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 73 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 73 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 71 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 82 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 82 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 89 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 91 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 91 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 89 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 100 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 100 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 107 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 109 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 109 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 107 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 118 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 118 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 125 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 127 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 127 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 125 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 136 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 136 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 143 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 145 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 145 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 143 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 154 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 154 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 161 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 163 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 163 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 161 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 172 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 172 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 179 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 181 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 181 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 179 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 190 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 190 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 197 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 199 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 199 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 197 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 208 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 208 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 215 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 217 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 217 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 215 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 226 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 226 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 233 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 235 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 235 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 233 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 244 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 244 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 251 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 253 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 253 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 251 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 262 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 262 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 269 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 271 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 271 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 269 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 280 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 280 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 287 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 289 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 289 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 287 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 298 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 298 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 305 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 307 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 307 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 305 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 316 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 316 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 323 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 325 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 325 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 323 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 334 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 334 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 341 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 343 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 343 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 341 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 352 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 352 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 359 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 361 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 361 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 359 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -64 370 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) );
				setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
				setLocalVarString "ui_selected_unlockType" ( "" );
				if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "camo" );
				}
				if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
				{
					setLocalVarString "ui_selected_unlockType" ( "attachment" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "title" )
				{
					setLocalVarString "ui_selected_unlockType" ( "title" );
				}
				if ( localvarstring( "ui_selected_unlock" ) == "icon" )
				{
					setLocalVarString "ui_selected_unlockType" ( "icon" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 370 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			glowColor 0 0 0 1
			type 1
			textfont 3
			textalign 6
			textalignx -76
			textscale 0.375
			exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
			disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 216 377 40 10 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.55
			background "black"
			textscale 0.55
			exp rect w ( 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 379 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 379 40 6 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0.25 0.65
			background "white"
			textscale 0.55
			exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect 216 377 40 10 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 10
			textalign 9
			textscale 0.3333
			text "@MPUI_DONE_CAPS"
			exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
			visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
		}
		itemDef
		{
			rect -16 28 448 20 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "challenge_name_bar"
			textscale 0.55
		}
		itemDef
		{
			rect 0 28 272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( localvarstring( "ui_selected_ref" ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) )
		}
		itemDef
		{
			rect 0 28 272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( localvarstring( "ui_selected_ref" ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) )
		}
		itemDef
		{
			rect 0 48 272 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) != "@CHALLENGE_BLANK" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_ref" ) != "ch_marathon_pro" && localvarstring( "ui_selected_ref" ) != "ch_lightweight_pro" )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) )
		}
		itemDef
		{
			rect 0 48 272 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) != "@CHALLENGE_BLANK" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_ref" ) == "ch_marathon_pro" || localvarstring( "ui_selected_ref" ) == "ch_lightweight_pro" )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , int( ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) / 5280 ) ) )
		}
		itemDef
		{
			rect 0 48 272 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) == "@CHALLENGE_BLANK" )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) ) )
		}
		itemDef
		{
			rect 0 48 272 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) != "@CHALLENGE_BLANK" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_ref" ) != "ch_marathon_pro" && localvarstring( "ui_selected_ref" ) != "ch_lightweight_pro" )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) - 1 ) * 2 ) ) ) ) )
		}
		itemDef
		{
			rect 0 48 272 20 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) != "@CHALLENGE_BLANK" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_ref" ) == "ch_marathon_pro" || localvarstring( "ui_selected_ref" ) == "ch_lightweight_pro" )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , int( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) - 1 ) * 2 ) ) ) / 5280 ) ) )
		}
		itemDef
		{
			rect 0 108 -272 1 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.45
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect 0 108 272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_ref" ) != "ch_marathon_pro" && localvarstring( "ui_selected_ref" ) != "ch_lightweight_pro" )
			exp text ( locstring( "@CHALLENGE_PROGRESS_X_OF_Y" , getplayerdata( "challengeProgress" , localvarstring( "ui_selected_ref" ) ) - 0 , int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) )
		}
		itemDef
		{
			rect 0 108 272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && ( localvarstring( "ui_selected_ref" ) == "ch_marathon_pro" || localvarstring( "ui_selected_ref" ) == "ch_lightweight_pro" ) )
			exp text ( locstring( "@CHALLENGE_PROGRESS_X_OF_Y" , int( ( getplayerdata( "challengeProgress" , localvarstring( "ui_selected_ref" ) ) - 0 ) / 5280 ) , int( ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) / 5280 ) ) )
		}
		itemDef
		{
			rect 0 108 272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			text "@CHALLENGE_COMPLETE"
			visible when ( ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) )
		}
		itemDef
		{
			rect 0 168 -272 1 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.45
			background "gradient_fadein"
			textscale 0.55
			visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) )
		}
		itemDef
		{
			rect 0 168 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) )
			exp text ( locstring( "@MPUI_REWARD_XP" , int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 7 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) ) )
		}
		itemDef
		{
			rect 0 228 -272 1 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.45
			background "gradient_fadein"
			textscale 0.55
			visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) != "" )
		}
		itemDef
		{
			rect 0 228 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalign 4
			textscale 0.3333
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) != "" && ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
			exp text ( "@MPUI_UNLOCKS_ATTACHMENTS" )
		}
		itemDef
		{
			rect 0 228 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalign 4
			textscale 0.3333
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) != "" && ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) == "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
			exp text ( "@MPUI_UNLOCKS_ATTACHMENT_SINGLE" )
		}
		itemDef
		{
			rect 0 228 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalign 4
			textscale 0.3333
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
			exp text ( "@MPUI_UNLOCKS_CAMOS" )
		}
		itemDef
		{
			rect 0 243 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
			exp forecolor g ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
			exp forecolor b ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
			exp forecolor a ( ( 0.65 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
			exp text ( locstring( "@MPUI_I" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) , 3 ) ) )
		}
		itemDef
		{
			rect 0 258 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
			exp forecolor g ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
			exp forecolor b ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
			exp forecolor a ( ( 0.65 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
			exp text ( locstring( "@MPUI_II" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) , 3 ) ) )
		}
		itemDef
		{
			rect 0 273 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
			exp forecolor g ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
			exp forecolor b ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
			exp forecolor a ( ( 0.65 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 3 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
			exp text ( locstring( "@MPUI_III" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 3 ) - 1 ) ) , 3 ) ) )
		}
		itemDef
		{
			rect 0 288 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
			exp forecolor g ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
			exp forecolor b ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
			exp forecolor a ( ( 0.65 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 4 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
			exp text ( locstring( "@MPUI_IV" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 4 ) - 1 ) ) , 3 ) ) )
		}
		itemDef
		{
			rect 0 303 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
			exp forecolor g ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
			exp forecolor b ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
			exp forecolor a ( ( 0.65 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 5 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
			exp text ( locstring( "@MPUI_V" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 5 ) - 1 ) ) , 3 ) ) )
		}
		itemDef
		{
			rect 0 318 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
			exp forecolor g ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
			exp forecolor b ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
			exp forecolor a ( ( 0.65 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 6 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
			exp text ( locstring( "@MPUI_VI" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 6 ) - 1 ) ) , 3 ) ) )
		}
		itemDef
		{
			rect 0 243 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
			exp forecolor g ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
			exp forecolor b ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
			exp forecolor a ( ( 0.65 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
			exp text ( locstring( "@MPUI_I" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) , 2 ) ) )
		}
		itemDef
		{
			rect 0 258 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
			exp forecolor g ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
			exp forecolor b ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
			exp forecolor a ( ( 0.65 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
			exp text ( locstring( "@MPUI_II" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) , 2 ) ) )
		}
		itemDef
		{
			rect 0 273 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
			exp forecolor g ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
			exp forecolor b ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
			exp forecolor a ( ( 0.65 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 3 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
			exp text ( locstring( "@MPUI_III" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 3 ) - 1 ) ) , 2 ) ) )
		}
		itemDef
		{
			rect 0 288 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
			exp forecolor g ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
			exp forecolor b ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
			exp forecolor a ( ( 0.65 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 4 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
			exp text ( locstring( "@MPUI_IV" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 4 ) - 1 ) ) , 2 ) ) )
		}
		itemDef
		{
			rect 0 303 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
			exp forecolor g ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
			exp forecolor b ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
			exp forecolor a ( ( 0.65 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 5 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
			exp text ( locstring( "@MPUI_V" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 5 ) - 1 ) ) , 2 ) ) )
		}
		itemDef
		{
			rect 0 318 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
			exp forecolor g ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
			exp forecolor b ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
			exp forecolor a ( ( 0.65 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 6 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
			exp text ( locstring( "@MPUI_VI" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 6 ) - 1 ) ) , 2 ) ) )
		}
		itemDef
		{
			rect 0 333 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp forecolor r ( ( 0.85 * ( 7 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 7 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 7 ) )
			exp forecolor g ( ( 0.85 * ( 7 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 7 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 7 ) )
			exp forecolor b ( ( 0.85 * ( 7 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 7 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 7 ) )
			exp forecolor a ( ( 0.65 * ( 7 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 7 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 7 ) )
			visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 7 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
			exp text ( locstring( "@MPUI_VII" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 7 ) - 1 ) ) , 2 ) ) )
		}
		itemDef
		{
			rect 0 228 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "title" )
			exp text ( "@MPUI_UNLOCKS_NEW_TITLE" )
		}
		itemDef
		{
			rect 0 228 -272 20 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "icon" )
			exp text ( "@MPUI_UNLOCKS_NEW_ICON" )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_challenge_detail_popup"
		rect -272 -60 544 120 2 2
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		execKey "BUTTON_A"
		{
			close self;
		}
		execKey "BUTTON_X"
		{
			close self;
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1126 -540 3416 1920 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1126 -540 3416 1920 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -427 -60 854 120 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -272 -60 1708 480 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 544 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -272 -60 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 544 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -427 -60 854 0 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( 120 )
		}
		itemDef
		{
			rect -272 -60 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 544 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -272 -60 -1708 -480 2 9
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( 0 - ( 854 - 544 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -491 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -427 -124 854 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 -60 64 120 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 427 60 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -427 60 854 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -491 60 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -491 -60 64 120 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -1126 -540 3416 1920 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -427 -60 854 20 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -272 -60 544 20 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.4
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) + "_" + localvarint( "ui_challenge_state" ) ) )
		}
		itemDef
		{
			rect -272 -40 544 40 2 2
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) != "@CHALLENGE_BLANK" && ( localvarstring( "ui_challenge_ref" ) != "ch_marathon_pro" && localvarstring( "ui_challenge_ref" ) != "ch_lightweight_pro" ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 6 + ( ( localvarint( "ui_challenge_state" ) - 1 ) * 2 ) ) ) ) ) )
		}
		itemDef
		{
			rect -272 -40 544 40 2 2
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) != "@CHALLENGE_BLANK" && ( localvarstring( "ui_challenge_ref" ) == "ch_marathon_pro" || localvarstring( "ui_challenge_ref" ) == "ch_lightweight_pro" ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 2 ) , int( ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 6 + ( ( localvarint( "ui_challenge_state" ) - 1 ) * 2 ) ) ) ) / 5280 ) ) )
		}
		itemDef
		{
			rect -272 -40 544 40 2 2
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 3 ) == "@CHALLENGE_BLANK" )
			exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 2 ) )
		}
		itemDef
		{
			rect -272 0 544 20 2 2
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( localvarstring( "ui_challenge_ref" ) != "ch_marathon_pro" && localvarstring( "ui_challenge_ref" ) != "ch_lightweight_pro" )
			exp text ( locstring( "@CHALLENGE_PROGRESS_X_OF_Y" , getplayerdata( "challengeProgress" , localvarstring( "ui_challenge_ref" ) ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 6 + ( ( localvarint( "ui_challenge_state" ) - 1 ) * 2 ) ) ) ) ) )
		}
		itemDef
		{
			rect -272 0 544 20 2 2
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( localvarstring( "ui_challenge_ref" ) == "ch_marathon_pro" || localvarstring( "ui_challenge_ref" ) == "ch_lightweight_pro" )
			exp text ( locstring( "@CHALLENGE_PROGRESS_X_OF_Y" , int( getplayerdata( "challengeProgress" , localvarstring( "ui_challenge_ref" ) ) / 5280 ) , int( ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 6 + ( ( localvarint( "ui_challenge_state" ) - 1 ) * 2 ) ) ) ) / 5280 ) ) )
		}
		itemDef
		{
			rect -272 20 544 20 2 2
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( 1 )
			exp text ( locstring( "@MPUI_REWARD_XP" , int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_challenge_ref" ) , 7 + ( ( localvarint( "ui_challenge_state" ) - 1 ) * 2 ) ) ) ) )
		}
		itemDef
		{
			rect -272 40 544 20 2 2
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 4 ) != "" )
			exp text ( locstring( "@MPUI_UNLOCKS_ATTACHMENT" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) ) )
		}
		itemDef
		{
			rect -272 40 544 40 2 2
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			visible when ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 1 ) != "" )
			exp text ( locstring( "@MPUI_UNLOCKS_CAMO" , "@" + tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_ref" ) , 2 ) ) )
		}
	}
	menuDef
	{
		name "popup_challenge_weapon_primary"
		rect -64 0 854 104 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_challenge_weapon_primary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_challenge_weapon_primary_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 104 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 104 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "challenge_primary_assault"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_ASSAULT_RIFLES_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				}
				open "popup_challenge_assault_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_ASSAULT_RIFLES_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "compass_overlay_map_blank" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "masada" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m16" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "tavor" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "fn2000" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m4" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "scar" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "ak47" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "fal" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "famas" , 0 ) ) ) ) )
		}
		itemDef
		{
			name "challenge_primary_smg"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_SMGS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_SMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_SMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_SMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_SMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_SMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_SMGS_CAPS" );
				}
				open "popup_challenge_smg_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_SMGS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "compass_overlay_map_blank" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "mp5k" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "uzi" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "kriss" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "ump45" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "p90" , 0 ) ) ) ) )
		}
		itemDef
		{
			name "challenge_primary_lmg"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_LMGS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_LMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_LMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_LMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_LMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_LMGS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_LMGS_CAPS" );
				}
				open "popup_challenge_lmg_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_LMGS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "compass_overlay_map_blank" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m240" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "sa80" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "rpd" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "aug" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "mg4" , 0 ) ) ) ) )
		}
		itemDef
		{
			name "challenge_primary_sniper"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_SNIPER_RIFLES_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				}
				open "popup_challenge_sniper_primary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_SNIPER_RIFLES_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "compass_overlay_map_blank" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "cheytac" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m21" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "barrett" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "wa2000" , 0 ) ) ) ) )
		}
		itemDef
		{
			name "challenge_primary_riot"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_RIOT_SHIELD_CAPS"
			action
			{
				play "mouse_click";
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "riotshield" , 4 ) );
				open "menu_challenge_details";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_RIOT_SHIELD_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "compass_overlay_map_blank" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( 0 )
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( localvarstring( "ui_info_name" ) )
		}
		itemDef
		{
			rect 12 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( localvarstring( "ui_info_icon" ) )
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( "weaponRefString" + " " + "refString" ) )
			exp text ( localvarstring( "ui_info_desc" ) )
		}
	}
	menuDef
	{
		name "popup_challenge_weapon_secondary"
		rect -64 0 854 104 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_challenge_weapon_secondary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_challenge_weapon_secondary_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 104 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 104 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "challenge_secondary_machinepistols"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_MACHINE_PISTOLS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				}
				open "popup_challenge_machinepistols_secondary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_MACHINE_PISTOLS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "compass_overlay_map_blank" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "glock" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "tmp" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "beretta393" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "pp2000" , 0 ) ) ) ) )
		}
		itemDef
		{
			name "challenge_secondary_shotgun"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_SHOTGUNS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_SHOTGUNS_CAPS" );
				}
				open "popup_challenge_shotgun_secondary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_SHOTGUNS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "compass_overlay_map_blank" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "striker" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "aa12" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "ranger" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m1014" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "model1887" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "spas12" , 0 ) ) ) ) )
		}
		itemDef
		{
			name "challenge_secondary_handgun"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_HANDGUNS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_HANDGUNS_CAPS" );
				}
				open "popup_challenge_handgun_secondary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_HANDGUNS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "compass_overlay_map_blank" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "usp" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "coltanaconda" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "deserteagle" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "beretta" , 0 ) ) ) ) )
		}
		itemDef
		{
			name "challenge_secondary_launcher"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			text "@MENU_ROCKETS_CAPS"
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@MENU_ROCKETS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@MENU_ROCKETS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@MENU_ROCKETS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@MENU_ROCKETS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@MENU_ROCKETS_CAPS" );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@MENU_ROCKETS_CAPS" );
				}
				open "popup_challenge_launcher_secondary";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_info_name" ( "@MENU_ROCKETS_CAPS" );
				setLocalVarString "ui_info_desc" ( "@" );
				setLocalVarString "ui_info_icon" ( "compass_overlay_map_blank" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "at4" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "rpg" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "javelin" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "stinger" , 0 ) ) ) || getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m79" , 0 ) ) ) ) )
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( localvarstring( "ui_info_name" ) )
		}
		itemDef
		{
			rect 12 20 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( localvarstring( "ui_info_icon" ) )
		}
		itemDef
		{
			rect -56 0 200 104 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 84
			textscale 0.375
			visible when ( isitemunlocked( "weaponRefString" + " " + "refString" ) )
			exp text ( localvarstring( "ui_info_desc" ) )
		}
	}
	menuDef
	{
		name "popup_challenge_assault_primary"
		rect -64 0 854 184 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_challenge_assault_primary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_challenge_assault_primary_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 8 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 184 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "weaponChallenge_m4"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m4" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m4" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m4" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "m4" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m4" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "m4" ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m4" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_famas"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "famas" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "famas" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "famas" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "famas" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "famas" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "famas" ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "famas" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_scar"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "scar" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "scar" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "scar" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "scar" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "scar" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "scar" ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "scar" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_tavor"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "tavor" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tavor" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "tavor" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "tavor" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "tavor" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "tavor" ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "tavor" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_fal"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "fal" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fal" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "fal" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "fal" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "fal" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "fal" ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "fal" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_m16"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m16" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m16" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m16" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "m16" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m16" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "m16" ) )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m16" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_masada"
			rect -64 124 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "masada" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "masada" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "masada" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "masada" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "masada" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "masada" ) )
		}
		itemDef
		{
			rect 162 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "masada" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_fn2000"
			rect -64 144 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "fn2000" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "fn2000" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "fn2000" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "fn2000" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "fn2000" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "fn2000" ) )
		}
		itemDef
		{
			rect 162 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "fn2000" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_ak47"
			rect -64 164 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "ak47" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ak47" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "ak47" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "ak47" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "ak47" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "ak47" ) )
		}
		itemDef
		{
			rect 162 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "ak47" , 0 ) ) ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 184 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
	}
	menuDef
	{
		name "popup_challenge_smg_primary"
		rect -64 0 854 144 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_challenge_smg_primary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_challenge_smg_primary_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "weaponChallenge_mp5k"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "mp5k" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mp5k" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "mp5k" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "mp5k" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "mp5k" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "mp5k" ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "mp5k" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_ump45"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "ump45" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ump45" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "ump45" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "ump45" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "ump45" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "ump45" ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "ump45" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_kriss"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "kriss" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "kriss" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "kriss" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "kriss" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "kriss" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "kriss" ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "kriss" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_p90"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "p90" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "p90" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "p90" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "p90" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "p90" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "p90" ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "p90" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_uzi"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "uzi" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "uzi" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "uzi" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "uzi" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "uzi" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "uzi" ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "uzi" , 0 ) ) ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
	}
	menuDef
	{
		name "popup_challenge_lmg_primary"
		rect -64 0 854 144 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_challenge_lmg_primary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_challenge_lmg_primary_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "weaponChallenge_sa80"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "sa80" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "sa80" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "sa80" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "sa80" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "sa80" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "sa80" ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "sa80" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_rpd"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "rpd" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpd" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "rpd" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "rpd" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "rpd" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "rpd" ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "rpd" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_mg4"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "mg4" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "mg4" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "mg4" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "mg4" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "mg4" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "mg4" ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "mg4" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_aug"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "aug" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aug" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "aug" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "aug" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "aug" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "aug" ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "aug" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_m240"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m240" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m240" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m240" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "m240" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m240" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "m240" ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m240" , 0 ) ) ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
	}
	menuDef
	{
		name "popup_challenge_sniper_primary"
		rect -64 0 854 144 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_challenge_sniper_primary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_challenge_sniper_primary_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "weaponChallenge_barrett"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "barrett" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "barrett" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "barrett" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "barrett" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "barrett" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "barrett" ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "barrett" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_cheytac"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "cheytac" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "cheytac" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "cheytac" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "cheytac" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "cheytac" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "cheytac" ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "cheytac" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_wa2000"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "wa2000" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "wa2000" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "wa2000" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "wa2000" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "wa2000" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "wa2000" ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "wa2000" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_m21"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m21" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m21" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m21" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "m21" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m21" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "m21" ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m21" , 0 ) ) ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
	}
	menuDef
	{
		name "popup_challenge_machinepistols_secondary"
		rect -64 0 854 144 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_challenge_machinepistols_secondary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_challenge_machinepistols_secondary_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "weaponChallenge_pp2000"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "pp2000" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "pp2000" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "pp2000" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "pp2000" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "pp2000" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "pp2000" ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "pp2000" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_glock"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "glock" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "glock" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "glock" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "glock" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "glock" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "glock" ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "glock" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_beretta393"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "beretta393" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta393" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "beretta393" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "beretta393" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "beretta393" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "beretta393" ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "beretta393" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_tmp"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "tmp" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "tmp" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "tmp" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "tmp" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "tmp" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "tmp" ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "tmp" , 0 ) ) ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
	}
	menuDef
	{
		name "popup_challenge_shotgun_secondary"
		rect -64 0 854 144 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_challenge_shotgun_secondary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_challenge_shotgun_secondary_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "weaponChallenge_spas12"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "spas12" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "spas12" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "spas12" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "spas12" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "spas12" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "spas12" ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "spas12" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_aa12"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "aa12" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "aa12" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "aa12" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "aa12" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "aa12" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "aa12" ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "aa12" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_striker"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "striker" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "striker" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "striker" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "striker" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "striker" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "striker" ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "striker" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_ranger"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "ranger" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "ranger" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "ranger" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "ranger" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "ranger" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "ranger" ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "ranger" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_m1014"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m1014" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m1014" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m1014" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "m1014" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m1014" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "m1014" ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m1014" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_model1887"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "model1887" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "model1887" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "model1887" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "model1887" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "model1887" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "model1887" ) )
		}
		itemDef
		{
			rect 162 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "model1887" , 0 ) ) ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
	}
	menuDef
	{
		name "popup_challenge_handgun_secondary"
		rect -64 0 854 144 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_challenge_handgun_secondary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_challenge_handgun_secondary_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "weaponChallenge_usp"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "usp" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "usp" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "usp" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "usp" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "usp" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "usp" ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "usp" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_coltanaconda"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "coltanaconda" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "coltanaconda" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "coltanaconda" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "coltanaconda" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "coltanaconda" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "coltanaconda" ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "coltanaconda" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_beretta"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "beretta" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "beretta" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "beretta" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "beretta" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "beretta" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "beretta" ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "beretta" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_deserteagle"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "deserteagle" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "deserteagle" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "deserteagle" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "deserteagle" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "deserteagle" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "deserteagle" ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "deserteagle" , 0 ) ) ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
	}
	menuDef
	{
		name "popup_challenge_launcher_secondary"
		rect -64 0 854 144 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( localvarint( "ui_tabDepth" ) == localvarint( "ui_popup_challenge_launcher_secondary_tabDepth" ) )
		exp rect y ( localvarfloat( "ui_popupYPos" ) + localvarint( "ui_tabDepth" ) * 20 )
		onOpen
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) + 1 );
			setLocalVarInt "ui_popup_challenge_launcher_secondary_tabDepth" ( localvarint( "ui_tabDepth" ) );
		}
		onClose
		{
			setLocalVarInt "ui_tabDepth" ( localvarint( "ui_tabDepth" ) - 1 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 6 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 144 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 1 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 1 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 1 - 1 ) )
			exp text ( localvarstring( "ui_tab1Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 2 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 2 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 2 - 1 ) )
			exp text ( localvarstring( "ui_tab2Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 3 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 3 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 3 - 1 ) )
			exp text ( localvarstring( "ui_tab3Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 4 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 4 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 4 - 1 ) )
			exp text ( localvarstring( "ui_tab4Name" ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.25 0.25 0.25 1
			background "white"
			textscale 0.55
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
		}
		itemDef
		{
			rect -64 0 280 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 68
			textscale 0.375
			exp rect y ( - 20 - ( ( localvarint( "ui_tabDepth" ) - 5 ) * 20 ) )
			exp forecolor r ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor g ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			exp forecolor b ( 1 - ( ( localvarint( "ui_tabDepth" ) > 5 ) * 0.35 ) )
			visible when ( localvarint( "ui_tabDepth" ) > ( 5 - 1 ) )
			exp text ( localvarstring( "ui_tab5Name" ) )
		}
		itemDef
		{
			name "weaponChallenge_at4"
			rect -64 4 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "at4" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "at4" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "at4" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "at4" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "at4" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "at4" ) )
		}
		itemDef
		{
			rect 162 4 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "at4" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_m79"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "m79" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "m79" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "m79" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "m79" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "m79" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "m79" ) )
		}
		itemDef
		{
			rect 162 24 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "m79" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_stinger"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "stinger" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "stinger" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "stinger" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "stinger" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "stinger" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "stinger" ) )
		}
		itemDef
		{
			rect 162 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "stinger" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_javelin"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "javelin" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "javelin" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "javelin" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "javelin" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "javelin" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "javelin" ) )
		}
		itemDef
		{
			rect 162 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "javelin" , 0 ) ) ) )
		}
		itemDef
		{
			name "weaponChallenge_rpg"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar_short"
			type 1
			textfont 3
			textalign 4
			textalignx 68
			textscale 0.375
			disabled when ( !isitemunlocked( "rpg" ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) )
			action
			{
				play "mouse_click";
				if ( localvarint( "ui_tabDepth" ) == 0 )
				{
					setLocalVarString "ui_tab1Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 1 )
				{
					setLocalVarString "ui_tab2Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 2 )
				{
					setLocalVarString "ui_tab3Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 3 )
				{
					setLocalVarString "ui_tab4Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 4 )
				{
					setLocalVarString "ui_tab5Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				if ( localvarint( "ui_tabDepth" ) == 5 )
				{
					setLocalVarString "ui_tab6Name" ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "rpg" , 3 ) );
				}
				setLocalVarString "ui_challengeTierTable" ( tablelookup( "mp/challengeTable.csv" , 6 , "rpg" , 4 ) );
				open "menu_challenge_details";
				setLocalVarInt "tierForWeapon" ( int( tablelookup( "mp/challengeTable.csv" , 6 , "rpg" , 0 ) ) );
				setPlayerData( "challengeTierNew" , "localVarInt" ( "tierForWeapon" ) , "false" );
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarString "ui_selected_ref" ( "rpg" );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_locked"
			textscale 0.55
			visible when ( !isitemunlocked( "rpg" ) )
		}
		itemDef
		{
			rect 162 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "challengeTierNew" , int( tablelookup( "mp/challengeTable.csv" , 6 , "rpg" , 0 ) ) ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "small_box_lightfx"
			textscale 0.55
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 3 ) )
		}
		itemDef
		{
			rect -56 10 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 6 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , localvarstring( "ui_selected_ref" ) , 7 ) )
		}
		itemDef
		{
			rect -56 0 200 144 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textaligny 104
			textscale 0.375
			visible when ( !isitemunlocked( localvarstring( "ui_selected_ref" ) ) )
			exp text ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , 17 ) )
		}
	}
	menuDef
	{
		name "menu_records"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			setLocalVarInt "ui_pageIndex" ( 0 );
			setLocalVarInt "ui_numPages" ( 0 );
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 1 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 1 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 2 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 2 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 3 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 3 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 4 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 4 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 5 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 5 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 6 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 6 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 7 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 7 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 8 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 8 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 9 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 9 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 10 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 10 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 11 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 11 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 12 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 12 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 13 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 13 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 14 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 14 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 15 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 15 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 16 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 16 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 17 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 17 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 18 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 18 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 19 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 19 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 20 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 20 );
			}
			if ( ( tablelookupbyrow( "mp/awardTable.csv" , ( 21 * 18 ) , 1 ) != "" ) )
			{
				setLocalVarInt "ui_numPages" ( 21 );
			}
			focusfirst;
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -320 0 640 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MPUI_HIGHLIGHTS_CAPS"
		}
		itemDef
		{
			rect 0 28 640 268 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 268 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 296 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 296 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 296 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 268 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 360 640 20 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 328 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 328 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 328 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 360 32 20 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 380 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 380 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 380 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 360 32 20 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 544 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 6
			textalignx -4
			textscale 0.3333
			visible when ( 1 )
			exp text ( locstring( "@MPUI_PAGE_N_SLASH_N" , ( localvarint( "ui_pageIndex" ) + 1 ) , ( localvarint( "ui_numPages" ) + 1 ) ) )
		}
		itemDef
		{
			name "highlightImage0_0"
			rect -234.952 51.3333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage0_0" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 0 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 0 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 0 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 0 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_0";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_0";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_0";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_0";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 0 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect -226.286 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect -226.286 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -226.286 60 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage1_0"
			rect -234.952 127.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage1_0" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 0 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 0 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 0 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 0 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_0";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_0";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_0";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_0";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 1 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect -226.286 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect -226.286 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -226.286 136 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage2_0"
			rect -234.952 203.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage2_0" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 0 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 0 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 0 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 0 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 0 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 0 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 0 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 0 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 0 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 0 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_0";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_0";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_0";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_0";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 2 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect -226.286 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect -226.286 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -226.286 212 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage0_1"
			rect -157.238 51.3333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage0_1" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 1 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 1 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 1 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 1 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_1";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_1";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_1";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_1";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 3 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect -148.571 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect -148.571 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -148.571 60 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage1_1"
			rect -157.238 127.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage1_1" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 1 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 1 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 1 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 1 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_1";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_1";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_1";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_1";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 4 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect -148.571 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect -148.571 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -148.571 136 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage2_1"
			rect -157.238 203.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage2_1" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 1 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 1 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 1 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 1 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 1 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 1 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 1 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 1 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 1 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 1 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_1";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_1";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_1";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_1";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 5 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect -148.571 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect -148.571 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -148.571 212 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage0_2"
			rect -79.5238 51.3333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage0_2" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 2 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 2 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 2 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 2 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_2";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_2";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_2";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_2";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 6 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect -70.8571 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect -70.8571 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -70.8571 60 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage1_2"
			rect -79.5238 127.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage1_2" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 2 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 2 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 2 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 2 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_2";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_2";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_2";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_2";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 7 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect -70.8571 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect -70.8571 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -70.8571 136 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage2_2"
			rect -79.5238 203.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage2_2" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 2 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 2 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 2 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 2 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 2 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 2 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 2 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 2 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 2 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 2 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_2";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_2";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_2";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_2";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 8 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect -70.8571 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect -70.8571 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -70.8571 212 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage0_3"
			rect -1.80952 51.3333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage0_3" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 3 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 3 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 3 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 3 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_3";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_3";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_3";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_3";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 9 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 6.85714 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect 6.85714 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 6.85714 60 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage1_3"
			rect -1.80952 127.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage1_3" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 3 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 3 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 3 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 3 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_3";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_3";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_3";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_3";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 10 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 6.85714 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect 6.85714 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 6.85714 136 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage2_3"
			rect -1.80952 203.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage2_3" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 3 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 3 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 3 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 3 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 3 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 3 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 3 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 3 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 3 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 3 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_3";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_3";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_3";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_3";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 11 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 6.85714 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect 6.85714 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 6.85714 212 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage0_4"
			rect 75.9048 51.3333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage0_4" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 4 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 4 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 4 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 4 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_4";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_4";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_4";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_4";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 12 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 84.5714 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect 84.5714 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 84.5714 60 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage1_4"
			rect 75.9048 127.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage1_4" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 4 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 4 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 4 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 4 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_4";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_4";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_4";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_4";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 13 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 84.5714 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect 84.5714 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 84.5714 136 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage2_4"
			rect 75.9048 203.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage2_4" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 4 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 4 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 4 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 4 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 4 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 4 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 4 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 4 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 4 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 4 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_4";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_4";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_4";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_4";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 14 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 84.5714 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect 84.5714 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 84.5714 212 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage0_5"
			rect 153.619 51.3333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage0_5" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 5 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 5 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage0_5";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage0_0";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 5 == 5 )
				{
					setfocus "highlightImage0_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "highlightImage0_1";
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage0_2";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage0_3";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage0_4";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage0_5";
				}
				if ( 5 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage0_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_5";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_5";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage0_5";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage0_5";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 15 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 162.286 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect 162.286 60 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 162.286 60 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage1_5"
			rect 153.619 127.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage1_5" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 5 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 5 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage1_5";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage1_0";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 5 == 5 )
				{
					setfocus "highlightImage1_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "highlightImage1_1";
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage1_2";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage1_3";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage1_4";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage1_5";
				}
				if ( 5 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage1_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_5";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_5";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage1_5";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage1_5";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 16 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 162.286 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect 162.286 136 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 162.286 136 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			name "highlightImage2_5"
			rect 153.619 203.333 81.3333 81.3333 2 1
			style 3
			visible 1
			forecolor 1 1 1 1
			background "highlight_selected"
			type 1
			textscale 0.55
			exp forecolor g ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor b ( 0.45 + ( tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			exp forecolor a ( ( getfocuseditemname( ) == "highlightImage2_5" ) * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) )
			execKey "APAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 5 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "APAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 5 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "DPAD_LEFT"
			{
				if ( 5 == 0 )
				{
					if ( localvarint( "ui_pageIndex" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
						setfocus "highlightImage2_5";
					}
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage2_0";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 5 == 5 )
				{
					setfocus "highlightImage2_4";
				}
			}
			execKey "DPAD_RIGHT"
			{
				if ( 5 == 0 )
				{
					setfocus "highlightImage2_1";
				}
				if ( 5 == 1 )
				{
					setfocus "highlightImage2_2";
				}
				if ( 5 == 2 )
				{
					setfocus "highlightImage2_3";
				}
				if ( 5 == 3 )
				{
					setfocus "highlightImage2_4";
				}
				if ( 5 == 4 )
				{
					setfocus "highlightImage2_5";
				}
				if ( 5 == 5 )
				{
					if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
					{
						setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
						setfocus "highlightImage2_0";
					}
				}
			}
			execKey "BUTTON_LTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_5";
			}
			execKey "BUTTON_RTRIG"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_5";
			}
			execKey "BUTTON_LSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
				}
				setfocus "highlightImage2_5";
			}
			execKey "BUTTON_RSHLDR"
			{
				if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
				{
					setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
				}
				setfocus "highlightImage2_5";
			}
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				setLocalVarInt "ui_highlightIndex" ( 17 + ( localvarint( "ui_pageIndex" ) * 18 ) );
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 162.286 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "award_locked"
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) == 0 )
		}
		itemDef
		{
			rect 162.286 212 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 162.286 212 64 64 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 14
			textscale 0.375
			textstyle 8
			visible when ( ( tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) != "" ) && getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) > 0 )
			exp text ( locstring( "@MPUI_X_N" , getplayerdata( "awards" , tablelookupbyrow( "mp/awardTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 18 ) , 1 ) ) ) )
		}
		itemDef
		{
			rect 0 296 640 64 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "black"
			textscale 0.55
		}
		itemDef
		{
			rect -232 -112 464 64 2 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalign 5
			textaligny 8
			textscale 0.5833
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , localvarint( "ui_highlightIndex" ) , 1 ) , 3 ) )
		}
		itemDef
		{
			rect -232 -112 464 64 2 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textaligny 32
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , tablelookupbyrow( "mp/awardTable.csv" , localvarint( "ui_highlightIndex" ) , 1 ) , 4 ) )
		}
		itemDef
		{
			rect -272 104 -32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
			visible when ( localvarint( "ui_pageIndex" ) )
		}
		itemDef
		{
			rect 240 104 32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
			visible when ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "cac_popup"
		rect -64 0 280 0 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarfloat( "ui_cac_popup_ypos" ) )
		onOpen
		{
			setLocalVarFloat "ui_cac_popup_ypos" ( localvarfloat( "ui_popupYPos" ) );
			setLocalVarInt "ui_leftPopup" ( 1 );
			open "cac_popup_preview";
		}
		onClose
		{
			setLocalVarInt "ui_leftPopup" ( 0 );
			close "cac_popup_preview";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
			exp rect h ( 24 + ( int( 5 + min( 5 , getplayerdata( "prestige" ) / 2 + 0.5 ) ) ) * 20 )
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + ( int( 5 + min( 5 , getplayerdata( "prestige" ) / 2 + 0.5 ) ) ) * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 280 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + ( int( 5 + min( 5 , getplayerdata( "prestige" ) / 2 + 0.5 ) ) ) * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 280 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + ( int( 5 + min( 5 , getplayerdata( "prestige" ) / 2 + 0.5 ) ) ) * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( int( 5 + min( 5 , getplayerdata( "prestige" ) / 2 + 0.5 ) ) ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( int( 5 + min( 5 , getplayerdata( "prestige" ) / 2 + 0.5 ) ) ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + ( int( 5 + min( 5 , getplayerdata( "prestige" ) / 2 + 0.5 ) ) ) * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + ( int( 5 + min( 5 , getplayerdata( "prestige" ) / 2 + 0.5 ) ) ) * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 216 0 -256 0 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.35 0.35 0.35 1
			background "gradient_slow_fadein"
			textscale 0.55
			exp rect h ( 24 + ( int( 5 + min( 5 , getplayerdata( "prestige" ) / 2 + 0.5 ) ) ) * 20 )
		}
		itemDef
		{
			rect -64 0 280 22 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.25
			background "gradient_fadein"
			textfont 9
			textalign 6
			textalignx -4
			textscale 0.375
			text "@MENU_YOUR_CLASSES_CAPS"
		}
		itemDef
		{
			name "cac_customclass1"
			rect -64 24 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( getplayerdata( "customClasses" , 0 , "name" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , 0 , "inUse" , "true" );
				setLocalVarInt "classIndex" ( 0 );
				open "menu_cac_assault";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarInt "classIndex" ( 0 );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cac_customclass2"
			rect -64 44 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( getplayerdata( "customClasses" , 1 , "name" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , 1 , "inUse" , "true" );
				setLocalVarInt "classIndex" ( 1 );
				open "menu_cac_assault";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarInt "classIndex" ( 1 );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 44 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , 1 , "inUse" ) == 0 )
		}
		itemDef
		{
			name "cac_customclass3"
			rect -64 64 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( getplayerdata( "customClasses" , 2 , "name" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , 2 , "inUse" , "true" );
				setLocalVarInt "classIndex" ( 2 );
				open "menu_cac_assault";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarInt "classIndex" ( 2 );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , 2 , "inUse" ) == 0 )
		}
		itemDef
		{
			name "cac_customclass4"
			rect -64 84 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( getplayerdata( "customClasses" , 3 , "name" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , 3 , "inUse" , "true" );
				setLocalVarInt "classIndex" ( 3 );
				open "menu_cac_assault";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarInt "classIndex" ( 3 );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 84 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , 3 , "inUse" ) == 0 )
		}
		itemDef
		{
			name "cac_customclass5"
			rect -64 104 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( getplayerdata( "customClasses" , 4 , "name" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , 4 , "inUse" , "true" );
				setLocalVarInt "classIndex" ( 4 );
				open "menu_cac_assault";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarInt "classIndex" ( 4 );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 104 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , 4 , "inUse" ) == 0 )
		}
		itemDef
		{
			name "cac_customclass6"
			rect -64 124 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( getplayerdata( "prestige" ) > 0 )
			exp text ( getplayerdata( "customClasses" , 5 , "name" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , 5 , "inUse" , "true" );
				setLocalVarInt "classIndex" ( 5 );
				open "menu_cac_assault";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarInt "classIndex" ( 5 );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 124 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , 5 , "inUse" ) == 0 && getplayerdata( "prestige" ) > 0 )
		}
		itemDef
		{
			name "cac_customclass7"
			rect -64 144 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( getplayerdata( "prestige" ) > 2 )
			exp text ( getplayerdata( "customClasses" , 6 , "name" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , 6 , "inUse" , "true" );
				setLocalVarInt "classIndex" ( 6 );
				open "menu_cac_assault";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarInt "classIndex" ( 6 );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 144 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , 6 , "inUse" ) == 0 && getplayerdata( "prestige" ) > 2 )
		}
		itemDef
		{
			name "cac_customclass8"
			rect -64 164 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( getplayerdata( "prestige" ) > 4 )
			exp text ( getplayerdata( "customClasses" , 7 , "name" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , 7 , "inUse" , "true" );
				setLocalVarInt "classIndex" ( 7 );
				open "menu_cac_assault";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarInt "classIndex" ( 7 );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 164 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , 7 , "inUse" ) == 0 && getplayerdata( "prestige" ) > 4 )
		}
		itemDef
		{
			name "cac_customclass9"
			rect -64 184 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( getplayerdata( "prestige" ) > 6 )
			exp text ( getplayerdata( "customClasses" , 8 , "name" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , 8 , "inUse" , "true" );
				setLocalVarInt "classIndex" ( 8 );
				open "menu_cac_assault";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarInt "classIndex" ( 8 );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 184 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , 8 , "inUse" ) == 0 && getplayerdata( "prestige" ) > 6 )
		}
		itemDef
		{
			name "cac_customclass10"
			rect -64 204 336 20 1 1
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			visible when ( getplayerdata( "prestige" ) > 8 )
			exp text ( getplayerdata( "customClasses" , 9 , "name" ) )
			action
			{
				play "mouse_click";
				setPlayerData( "customClasses" , 9 , "inUse" , "true" );
				setLocalVarInt "classIndex" ( 9 );
				open "menu_cac_assault";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
				setLocalVarInt "classIndex" ( 9 );
				if ( !( tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) , 12 ) != "" || tablelookup( "mp/attachmentTable.csv" , 4 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) , 12 ) != "" ) && ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_gl" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_grip" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_shotgun" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null_heartbeat" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "specialty_null" );
				}
				setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
				setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
				setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
				setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
				setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
				if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
				{
					setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
				}
				setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
				setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
				setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
				setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
				setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
				setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
				setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
				setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
				setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
				setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
				setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 204 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( getplayerdata( "customClasses" , 9 , "inUse" ) == 0 && getplayerdata( "prestige" ) > 8 )
		}
		itemDef
		{
			rect -64 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx 24
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) - localvarfloat( "ui_cac_popup_ypos" ) )
			visible when ( localvarbool( "ui_popupAButton" ) && !localvarint( "ui_centerPopup" ) )
		}
	}
	menuDef
	{
		name "cac_popup_preview"
		rect 0 0 640 480 4 4
		style 1
		decoration
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 0
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			lerp x "from" "300" "to" 0 "over" "0.15";
		}
		onRequestClose
		{
			lerp x "from" 0 "to" "300" "over" "0.15";
		}
		onClose
		{
			if ( dvarbool( "splitscreen" ) )
			{
				execnow "splitscreencontrols";
			}
		}
		itemDef
		{
			rect -272 28 336 384 3 1
			style 3
			decoration
			visible 1
			forecolor 0.45 0.45 0.45 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -272 28 336 384 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -304 -4 32 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 -4 336 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 64 -4 32 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 64 28 32 384 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 64 412 32 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 412 336 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -304 412 32 32 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -304 28 32 384 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 0 272 408 3 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -272 28 -272 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.25
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( localvarstring( "loadoutClassName" ) )
		}
		itemDef
		{
			rect -272 268 -272 4 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -272 48 -272 100 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -272 48 272 100 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			textscale 0.55
			visible when ( localvarstring( "loadoutPrimaryCamo" ) != "none" )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutPrimaryCamo" ) , 4 ) )
		}
		itemDef
		{
			rect -272 48 272 18 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			textscale 0.55
			visible when ( localvarstring( "loadoutPrimaryCamo" ) != "none" )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutPrimaryCamo" ) , 4 ) )
		}
		itemDef
		{
			rect -272 48 -272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 3 ) )
		}
		itemDef
		{
			rect -200 48 200 101.333 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 6 ) )
		}
		itemDef
		{
			rect -268 66 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment2" ) , 6 ) )
		}
		itemDef
		{
			rect -268 106 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment" ) , 6 ) )
		}
		itemDef
		{
			rect -224 106 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment2" ) , 6 ) )
		}
		itemDef
		{
			rect -272 48 272 100 3 1
			decoration
			visible 1
			forecolor 1 1 1 0
			glowColor 0.5 0 0 1
			textfont 3
			textalign 12
			textalignx 4
			textscale 0.375
			exp glowcolor a ( ( ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && localvarstring( "loadoutPrimaryAttachment" ) == "none" ) ) )
			visible when ( localvarstring( "loadoutPrimaryAttachment" ) != "none" || ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 11 ) != "" ) ) )
			exp text ( locstring( "@MENU_PLUS" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment" ) , 3 ) ) )
		}
		itemDef
		{
			rect -272 48 272 100 3 1
			decoration
			visible 1
			forecolor 1 1 1 0
			glowColor 0.5 0 0 1
			textfont 3
			textalign 12
			textalignx 4
			textaligny -40
			textscale 0.375
			exp glowcolor a ( ( ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && localvarstring( "loadoutPrimaryAttachment2" ) == "none" ) ) )
			visible when ( ( isitemunlocked( "specialty_secondarybling" ) || 0 == 0 ) && localvarstring( "loadoutPrimaryAttachment2" ) != "none" || ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , ( 11 + 1 ) ) != "" ) ) )
			exp text ( locstring( "@MENU_PLUS" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment2" ) , 3 ) ) )
		}
		itemDef
		{
			rect -272 148 -272 100 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -272 148 272 100 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			textscale 0.55
			visible when ( localvarstring( "loadoutSecondaryCamo" ) != "none" )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutSecondaryCamo" ) , 4 ) )
		}
		itemDef
		{
			rect -272 148 272 18 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			textscale 0.55
			visible when ( localvarstring( "loadoutSecondaryCamo" ) != "none" )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutSecondaryCamo" ) , 4 ) )
		}
		itemDef
		{
			rect -272 148 -272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "gradient_fadein"
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 3 ) )
		}
		itemDef
		{
			rect -200 148 200 101.333 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 6 ) )
		}
		itemDef
		{
			rect -268 166 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment2" ) , 6 ) )
		}
		itemDef
		{
			rect -268 206 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment" ) , 6 ) )
		}
		itemDef
		{
			rect -224 206 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment2" ) , 6 ) )
		}
		itemDef
		{
			rect -272 148 272 100 3 1
			decoration
			visible 1
			forecolor 1 1 1 0
			glowColor 0.5 0 0 1
			textfont 3
			textalign 12
			textalignx 4
			textscale 0.375
			exp glowcolor a ( ( ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && localvarstring( "loadoutSecondaryAttachment" ) == "none" ) ) )
			visible when ( localvarstring( "loadoutSecondaryAttachment" ) != "none" || ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 11 ) != "" ) ) )
			exp text ( locstring( "@MENU_PLUS" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment" ) , 3 ) ) )
		}
		itemDef
		{
			rect -272 148 272 100 3 1
			decoration
			visible 1
			forecolor 1 1 1 0
			glowColor 0.5 0 0 1
			textfont 3
			textalign 12
			textalignx 4
			textaligny -40
			textscale 0.375
			exp glowcolor a ( ( ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && localvarstring( "loadoutSecondaryAttachment2" ) == "none" ) ) )
			visible when ( ( isitemunlocked( "specialty_secondarybling" ) || 1 == 0 ) && localvarstring( "loadoutSecondaryAttachment2" ) != "none" || ( localvarstring( "loadoutPerk1" ) == "specialty_bling" && ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , ( 11 + 1 ) ) != "" ) ) )
			exp text ( locstring( "@MENU_PLUS" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment2" ) , 3 ) ) )
		}
		itemDef
		{
			rect -272 268 -272 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -268 268 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 3 ) )
		}
		itemDef
		{
			rect -268 268 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) && localvarstring( "loadoutPerk1" ) != "" )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -232 268 272 36 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) * ( 9 - 2 ) ) ) ) )
		}
		itemDef
		{
			rect -228 284 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 4 ) )
		}
		itemDef
		{
			rect -228 284 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) , 9 ) )
		}
		itemDef
		{
			rect -272 304 -272 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -268 304 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 3 ) )
		}
		itemDef
		{
			rect -268 304 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) && localvarstring( "loadoutPerk2" ) != "" )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -232 304 272 36 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) * ( 9 - 2 ) ) ) ) )
		}
		itemDef
		{
			rect -228 320 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 4 ) )
		}
		itemDef
		{
			rect -228 320 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) , 9 ) )
		}
		itemDef
		{
			rect -272 340 -272 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -268 340 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 3 ) )
		}
		itemDef
		{
			rect -268 340 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) && localvarstring( "loadoutPerk3" ) != "" )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -232 340 272 36 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) * ( 9 - 2 ) ) ) ) )
		}
		itemDef
		{
			rect -228 356 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 4 ) )
		}
		itemDef
		{
			rect -228 356 228 18 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 4
			textscale 0.375
			visible when ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) , 9 ) )
		}
		itemDef
		{
			rect -272 376 -272 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -268 376 36 36 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 3 ) )
		}
		itemDef
		{
			rect -232 376 272 36 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 2 ) )
		}
		itemDef
		{
			rect -272 376 -272 1 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -272 248 -272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -272 248 -272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -268 248 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutEquipment" ) , 3 ) )
		}
		itemDef
		{
			rect -248 248 272 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutEquipment" ) , 2 ) )
		}
		itemDef
		{
			rect -136 248 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 6 ) )
		}
		itemDef
		{
			rect -116 248 272 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			exp text ( locstring( "@MPUI_N_XN" , "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 3 ) , int( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 5 ) ) ) )
		}
		itemDef
		{
			rect -272 268 -272 1 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "gradient_fadein"
			textscale 0.55
		}
	}
	menuDef
	{
		name "menu_xboxlive_lobby"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		soundLoop "music_mainmenu_mp"
		execKey "APAD_LEFT"
		{
			if ( getfocuseditemname( ) == "lobbyList" )
			{
				focusfirst;
			}
		}
		execKey "DPAD_LEFT"
		{
			if ( getfocuseditemname( ) == "lobbyList" )
			{
				focusfirst;
			}
		}
		execKey "APAD_RIGHT"
		{
			setfocus "lobbyList";
			setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYER_OPTIONS" );
		}
		execKey "DPAD_RIGHT"
		{
			setfocus "lobbyList";
			setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYER_OPTIONS" );
		}
		execKey "BUTTON_Y"
		{
			open "popup_summary";
			play "mouse_click";
		}
		onOpen
		{
			if ( dvarbool( "ui_opensummary" ) )
			{
				setLocalVarInt "ui_autoopened" ( 1 );
				open "popup_summary";
				setdvar "ui_opensummary" 0;
			}
			focusfirst;
			exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
		}
		onEsc
		{
			open "leavelobbywarning";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 4 0 212 28 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -4
			textscale 0.4
			dvar "playlist_name"
		}
		itemDef
		{
			rect 0 48 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -199 216 122 1 3
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( "preview_" + dvarstring( "ui_mapname" ) )
		}
		itemDef
		{
			rect 0 -199 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.5
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			exp text ( dvarstring( "party_mapname" ) )
		}
		itemDef
		{
			rect 0 -179 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			backcolor 1 0 0 0.25
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			visible when ( dvarstring( "party_vetoStatus" ) != "" )
			exp text ( dvarstring( "party_vetoStatus" ) )
		}
		itemDef
		{
			rect 0 -97 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 0.5
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			exp text ( gametypename( ) )
		}
		itemDef
		{
			rect 0 0 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( !isitemunlocked( "cac" ) && getfocuseditemname( ) == "live_lobby_cac" )
			execKey "APAD_UP"
			{
				setfocus "live_lobby_vote";
			}
			execKey "DPAD_UP"
			{
				setfocus "live_lobby_vote";
			}
		}
		itemDef
		{
			rect 0 0 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( !dvarbool( "party_vetoButtonVisible" ) && getfocuseditemname( ) == "live_lobby_vote" )
			execKey "APAD_DOWN"
			{
				focusfirst;
			}
			execKey "DPAD_DOWN"
			{
				focusfirst;
			}
		}
		itemDef
		{
			name "live_lobby_cac"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CREATE_A_CLASS_CAPS"
			disabled when ( !isitemunlocked( "cac" ) )
			execKey "APAD_UP"
			{
				setfocus "live_lobby_vote";
			}
			execKey "DPAD_UP"
			{
				setfocus "live_lobby_vote";
			}
			action
			{
				play "mouse_click";
				open "cac_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "cac" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_A_CLASS" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 48 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "weaponNew" ) || getplayerdataanybooltrue( "camoNew" ) || getplayerdataanybooltrue( "attachmentNew" ) ) || getplayerdataanybooltrue( "perkNew" ) || ( ( getplayerdata( "perkNew" , "frag_grenade_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "semtex_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "c4_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "claymore_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "throwingknife_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_tacticalinsertion" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_blastshield" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) || weaponclassnew( "weapon_grenade" ) || weaponclassnew( "weapon_equipment" ) ) || getplayerdata( "featureNew" , "cac" ) ) )
		}
		itemDef
		{
			name "live_lobby_playercard"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PLAYERCARD_CAPS"
			disabled when ( !isitemunlocked( "playercard" ) )
			action
			{
				play "mouse_click";
				open "popup_callsign";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "playercard" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LIVE" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LOCKED" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 68 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "featureNew" , "cas" ) || getplayerdata( "featureNew" , "token_1" ) || getplayerdata( "featureNew" , "token_2" ) || getplayerdata( "featureNew" , "token_3" ) || getplayerdata( "featureNew" , "token_4" ) || getplayerdata( "featureNew" , "token_5" ) || getplayerdata( "featureNew" , "token_6" ) || getplayerdata( "featureNew" , "token_7" ) || getplayerdata( "featureNew" , "token_8" ) || getplayerdata( "featureNew" , "token_9" ) || getplayerdata( "featureNew" , "token_10" ) || getplayerdata( "featureNew" , "token_11" ) || getplayerdata( "featureNew" , "token_12" ) ) || getplayerdata( "featureNew" , "clantag" ) || ( getplayerdataanybooltrue( "iconNew" ) || getplayerdata( "featureNew" , "playercard_icon" ) ) || ( getplayerdataanybooltrue( "titleNew" ) || getplayerdata( "featureNew" , "playercard_title" ) ) )
		}
		itemDef
		{
			name "live_lobby_barracks"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BARRACKS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_online_barracks";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_BARRACKS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 88 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "challengeTierNew" ) || getplayerdata( "featureNew" , "challenges" ) ) || getplayerdata( "featureNew" , "challenges" ) || ( ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && getplayerdata( "featureNew" , "prestige" ) ) ) )
		}
		itemDef
		{
			rect 0 108 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "live_lobby_invite"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_INVITE_CAPS"
			disabled when ( dvarbool( "ui_partyFull" ) )
			action
			{
				play "mouse_click";
				exec "xshowfriendslist";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MENU_DESC_INVITE_FRIENDS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "live_lobby_vote"
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_VOTE_TO_SKIP_CAPS"
			disabled when ( !dvarbool( "party_vetoButtonVisible" ) )
			execKey "APAD_DOWN"
			{
				focusfirst;
			}
			execKey "DPAD_DOWN"
			{
				focusfirst;
			}
			action
			{
				play "mouse_click";
				focusfirst;
				open "skipmapconfirmation";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( dvarbool( "party_vetoButtonVisible" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_VOTE_TO_SKIP" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_VOTE_CAST" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 168 212 36 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( !localvarbool( "ui_centerPopup" ) && !localvarbool( "ui_leftPopup" ) )
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect -272 0 0 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			exp text ( getpartystatus( ) )
		}
		itemDef
		{
			rect -272 12 0 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
			exp text ( getsearchparams( ) )
		}
		itemDef
		{
			rect -272 -42 272 18 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textfont 9
			textalign 6
			textscale 0.5833
			dvar "party_lobbyPlayerCount"
			visible when ( !( ( getplayercardinfo( 0 , 3 , 17 ) != 0 ) ) )
		}
		itemDef
		{
			rect -272 0 272 28 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.15
			textfont 3
			textalign 14
			textaligny 3
			textscale 0.375
			text "@MPUI_SCORE_CAPS"
		}
		itemDef
		{
			rect -272 28 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect -272 48 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect -272 68 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect -272 88 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect -272 108 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 4 ) != 0 ) )
		}
		itemDef
		{
			rect -272 128 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 5 ) != 0 ) )
		}
		itemDef
		{
			rect -272 148 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 6 ) != 0 ) )
		}
		itemDef
		{
			rect -272 168 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 7 ) != 0 ) )
		}
		itemDef
		{
			rect -272 188 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 8 ) != 0 ) )
		}
		itemDef
		{
			rect -272 208 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 9 ) != 0 ) )
		}
		itemDef
		{
			rect -272 228 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 10 ) != 0 ) )
		}
		itemDef
		{
			rect -272 248 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 11 ) != 0 ) )
		}
		itemDef
		{
			rect -272 268 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 12 ) != 0 ) )
		}
		itemDef
		{
			rect -272 288 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 13 ) != 0 ) )
		}
		itemDef
		{
			rect -272 308 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 14 ) != 0 ) )
		}
		itemDef
		{
			rect -272 328 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 15 ) != 0 ) )
		}
		itemDef
		{
			rect -272 348 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 16 ) != 0 ) )
		}
		itemDef
		{
			rect -272 368 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 3 , 17 ) != 0 ) )
		}
		itemDef
		{
			rect -272 28 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) && 4 == 4 )
		}
		itemDef
		{
			rect -272 28 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) && 4 == 5 )
		}
		itemDef
		{
			rect -272 48 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) && 4 == 4 )
		}
		itemDef
		{
			rect -272 48 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) && 4 == 5 )
		}
		itemDef
		{
			rect -272 68 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) && 4 == 4 )
		}
		itemDef
		{
			rect -272 68 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) && 4 == 5 )
		}
		itemDef
		{
			rect -272 88 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) && 4 == 4 )
		}
		itemDef
		{
			rect -272 88 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) && 4 == 5 )
		}
		itemDef
		{
			rect -272 108 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) && 4 == 4 )
		}
		itemDef
		{
			rect -272 108 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) && 4 == 5 )
		}
		itemDef
		{
			rect -272 128 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) && 4 == 4 )
		}
		itemDef
		{
			rect -272 128 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) && 4 == 5 )
		}
		itemDef
		{
			rect -272 148 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 6 ) != 0 ) && 4 == 4 )
		}
		itemDef
		{
			rect -272 148 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 6 ) != 0 ) && 4 == 5 )
		}
		itemDef
		{
			rect -272 168 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 7 ) != 0 ) && 4 == 4 )
		}
		itemDef
		{
			rect -272 168 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 7 ) != 0 ) && 4 == 5 )
		}
		itemDef
		{
			rect -272 188 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 8 ) != 0 ) && 4 == 4 )
		}
		itemDef
		{
			rect -272 188 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 4 , 8 ) != 0 ) && 4 == 5 )
		}
		itemDef
		{
			rect -272 208 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) && 5 == 4 )
		}
		itemDef
		{
			rect -272 208 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) && 5 == 5 )
		}
		itemDef
		{
			rect -272 228 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) && 5 == 4 )
		}
		itemDef
		{
			rect -272 228 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) && 5 == 5 )
		}
		itemDef
		{
			rect -272 248 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) && 5 == 4 )
		}
		itemDef
		{
			rect -272 248 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) && 5 == 5 )
		}
		itemDef
		{
			rect -272 268 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) && 5 == 4 )
		}
		itemDef
		{
			rect -272 268 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) && 5 == 5 )
		}
		itemDef
		{
			rect -272 288 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) && 5 == 4 )
		}
		itemDef
		{
			rect -272 288 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) && 5 == 5 )
		}
		itemDef
		{
			rect -272 308 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) && 5 == 4 )
		}
		itemDef
		{
			rect -272 308 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) && 5 == 5 )
		}
		itemDef
		{
			rect -272 328 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 6 ) != 0 ) && 5 == 4 )
		}
		itemDef
		{
			rect -272 328 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 6 ) != 0 ) && 5 == 5 )
		}
		itemDef
		{
			rect -272 348 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 7 ) != 0 ) && 5 == 4 )
		}
		itemDef
		{
			rect -272 348 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 7 ) != 0 ) && 5 == 5 )
		}
		itemDef
		{
			rect -272 368 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 8 ) != 0 ) && 5 == 4 )
		}
		itemDef
		{
			rect -272 368 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.5
			background "playercard_short_bg"
			textscale 0.55
			exp forecolor r ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor g ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			exp forecolor b ( ( ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) * ( player( "teamname" ) == "TEAM_AXIS" ) ) + ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) * ( player( "teamname" ) == "TEAM_ALLIES" ) ) ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 5 , 8 ) != 0 ) && 5 == 5 )
		}
		itemDef
		{
			rect -272 0 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "playercard_short_bg"
			textscale 0.55
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
		}
		itemDef
		{
			name "lobbyList"
			rect -272 27 272 380 3 1
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 48
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		0		0		1		  0
			noscrollbars
			doubleclick
			{
				play "mouse_click" open "player_popup_publiclobby";
			}
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 18
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		38		16		40		  0
			noscrollbars
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 31
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		38		16		40		  0
			noscrollbars
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny 178
			textscale 0.375
			feeder 33
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		38		16		40		  0
			noscrollbars
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textalignx 20
			textaligny -2
			textscale 0.375
			feeder 39
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 2		194		20		3		  1
							194		20		3		  1
			noscrollbars
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textalignx 20
			textaligny -2
			textscale 0.375
			feeder 42
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 2		194		20		3		  1
							194		20		3		  1
			noscrollbars
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 207 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textalignx 20
			textaligny -2
			textscale 0.375
			feeder 41
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 2		194		20		3		  1
							194		20		3		  1
			noscrollbars
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			type 6
			textaligny -2
			textscale 0.375
			feeder 35
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		230		40		4		  2
			noscrollbars
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			type 6
			textaligny -2
			textscale 0.375
			feeder 36
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		230		40		4		  2
			noscrollbars
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			type 6
			textaligny 178
			textscale 0.375
			feeder 37
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		230		40		4		  2
			noscrollbars
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 45
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		-20		16		40		  2
			noscrollbars
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 46
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		-20		16		40		  2
			noscrollbars
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny 178
			textscale 0.375
			feeder 47
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		-20		16		40		  2
			noscrollbars
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect 0 0 272 40 3 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "playercard_bg"
			textscale 0.55
			exp rect x ( - 268 )
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 248 )
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 - 4 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 5 ) )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 248 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 10
			textaligny 4
			textscale 0.3333
			textstyle 8
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) + 20 )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , dvarint( "party_selectedIndex" ) ) )
		}
		itemDef
		{
			rect 0 0 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 160 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , dvarint( "party_selectedIndex" ) ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && ( getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) , ( getplayercardinfo( 5 , 3 , dvarint( "party_selectedIndex" ) ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 222 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && ( getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) , 14 ) )
		}
		itemDef
		{
			rect 0 0 40 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) + 18 )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && getplayercardinfo( 9 , 3 , dvarint( "party_selectedIndex" ) ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 3 , dvarint( "party_selectedIndex" ) ) + "]" )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 19
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		0		20		40		  0
			noscrollbars
			visible when ( !( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 32
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		0		20		40		  0
			noscrollbars
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -272 207 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 34
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		0		20		40		  0
			noscrollbars
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.45
			background "shadow_inset"
			textscale 0.55
		}
		itemDef
		{
			rect 0 -18 726 18 1 3
			decoration
			visible 1
			forecolor 1 1 1 0.9
			bordercolor 0 0 0 0.5
			background "gradient"
			type 20
			textscale 0.375
			newsfeed 1
			speed 50
			spacing 30
			exp rect w ( 544 + ( dvarint( "widescreen" ) * 182 ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -68 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_GAME_SUMMARY_CAPS"
		}
		itemDef
		{
			rect -64 -44 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "popup_ready"
		rect 0 0 640 480 0 0
		style 1
		border 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		onOpen
		{
			exec "xpartyready 1";
		}
		onEsc
		{
			play "mouse_click";
			exec "xpartyready 0";
			close "popup_ready";
		}
	}
	menuDef
	{
		name "skipmapconfirmation"
		rect -150 -64 300 64 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "yes_button";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -544 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -544 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -64 300 64 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -64 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
		}
		itemDef
		{
			rect -214 -128 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -128 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -128 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -64 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -64 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -64 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -64 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -64 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -64 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_VOTESKIPCONFIRM"
		}
		itemDef
		{
			name "yes_button"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				exec "xpartyveto 1";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cancel_button"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -64 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "leavelobbywarning"
		rect -150 -64 300 64 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "cancel_button";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -544 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -544 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -64 300 64 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -64 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -64 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
		}
		itemDef
		{
			rect -214 -128 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -128 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -128 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -64 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -64 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -64 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -64 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -64 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 2 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -64 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@XBOXLIVE_LEAVELOBBY"
			visible when ( !inprivateparty( ) || privatepartyhost( ) || !privatepartyhostinlobby( ) )
		}
		itemDef
		{
			rect -150 -64 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@XBOXLIVE_LEAVEPARTYANDLOBBY"
			visible when ( inprivateparty( ) && !privatepartyhost( ) && privatepartyhostinlobby( ) )
		}
		itemDef
		{
			name "yes_button"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				exec "xstopparty";
				if ( inprivateparty( ) && !privatepartyhost( ) && privatepartyhostinlobby( ) )
				{
					exec "xstopprivateparty";
					exec "xstartprivateparty";
				}
				close "menu_xboxlive_lobby";
				close "menu_xboxlive_privatelobby";
				close "menu_xboxlive_teams";
				exec "xblive_privatematch 0";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cancel_button"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -64 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 2 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "menu_xboxlive_lobbyended"
		rect -150 -84 300 84 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "button_ok";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 300 84 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -214 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -148 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_NOTICE"
		}
		itemDef
		{
			rect -146 -60 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			exp text ( "@XBOXLIVE_LOBBYENDED" )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "button_ok"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_OK"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -84 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "menu_xboxlive_partyended"
		rect -150 -104 300 104 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "button_ok";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			execnow "nosplitscreen";
			resolveError;
			if ( !dvarbool( "onlinegame" ) && !dvarbool( "systemlink" ) )
			{
				exec "splitscreencontrols";
			}
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 300 104 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -214 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -168 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_NOTICE"
		}
		itemDef
		{
			rect -146 -80 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			exp text ( dvarstring( "partyend_reason" ) )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "button_ok"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_OK"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -104 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "menu_xboxlive_privatelobby"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		soundLoop "music_mainmenu_mp"
		execKey "APAD_RIGHT"
		{
			setfocus "lobbyList";
			setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYER_OPTIONS" );
		}
		execKey "DPAD_RIGHT"
		{
			setfocus "lobbyList";
			setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYER_OPTIONS" );
		}
		execKey "APAD_LEFT"
		{
			if ( getfocuseditemname( ) == "lobbyList" )
			{
				focusfirst;
			}
		}
		execKey "DPAD_LEFT"
		{
			if ( getfocuseditemname( ) == "lobbyList" )
			{
				focusfirst;
			}
		}
		execKey "BUTTON_Y"
		{
			open "popup_summary";
			play "mouse_click";
		}
		onOpen
		{
			if ( dvarbool( "ui_opensummary" ) )
			{
				setLocalVarInt "ui_autoopened" ( 1 );
				open "popup_summary";
				setdvar "ui_opensummary" 0;
			}
			execnow "xblive_rankedmatch 0";
			execnow "xblive_privatematch 1";
			exec "exec dvar_defaults.cfg";
			focusfirst;
		}
		onEsc
		{
			open "leavelobbywarning";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MPUI_PRIVATE_MATCH_LOBBY"
		}
		itemDef
		{
			rect -272 0 0 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			visible when ( privatepartyhost( ) )
			exp text ( locstring( "@MPUI_RECOMMENDEDPLAYERS" , int( min( dvarint( "party_maxplayers" ) , maxrecommendedplayers( ) ) ) ) )
		}
		itemDef
		{
			rect -272 -42 272 18 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textfont 9
			textalign 6
			textscale 0.5833
			dvar "party_lobbyPlayerCount"
		}
		itemDef
		{
			rect 0 -199 216 122 1 3
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( "preview_" + dvarstring( "ui_mapname" ) )
		}
		itemDef
		{
			rect 0 -199 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.5
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			exp text ( dvarstring( "party_mapname" ) )
		}
		itemDef
		{
			rect 0 -179 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			backcolor 1 0 0 0.25
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			visible when ( dvarstring( "party_vetoStatus" ) != "" )
			exp text ( dvarstring( "party_vetoStatus" ) )
		}
		itemDef
		{
			rect 0 -97 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 0.5
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			exp text ( dvarstring( "party_gametype" ) )
		}
		itemDef
		{
			rect 0 0 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( !privatepartyhost( ) && getfocuseditemname( ) == "private_lobby_startmatch" )
			execKey "APAD_UP"
			{
				setfocus "private_lobby_invite";
			}
			execKey "DPAD_UP"
			{
				setfocus "private_lobby_invite";
			}
		}
		itemDef
		{
			name "private_lobby_startmatch"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_START_GAME_CAPS"
			disabled when ( !privatepartyhost( ) )
			execKey "APAD_UP"
			{
				setfocus "private_lobby_invite";
			}
			execKey "DPAD_UP"
			{
				setfocus "private_lobby_invite";
			}
			action
			{
				play "mouse_click";
				exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
				exec "xpartygo";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( !privatepartyhost( ) )
				{
					setLocalVarString "ui_hint_text" ( "@MENU_DESC_START_MATCH_LOCKED" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MENU_DESC_START_MATCH" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "private_lobby_setupmatch"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_GAME_SETUP_CAPS"
			disabled when ( !privatepartyhost( ) )
			action
			{
				play "mouse_click";
				open "popup_gamesetup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( !privatepartyhost( ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_GAME_SETUP_LOCKED" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_GAME_SETUP" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 68 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "private_lobby_cac"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CREATE_A_CLASS_CAPS"
			disabled when ( !isitemunlocked( "cac" ) )
			action
			{
				play "mouse_click";
				open "cac_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "cac" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_A_CLASS" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 68 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "weaponNew" ) || getplayerdataanybooltrue( "camoNew" ) || getplayerdataanybooltrue( "attachmentNew" ) ) || getplayerdataanybooltrue( "perkNew" ) || ( ( getplayerdata( "perkNew" , "frag_grenade_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "semtex_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "c4_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "claymore_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "throwingknife_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_tacticalinsertion" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_blastshield" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) || weaponclassnew( "weapon_grenade" ) || weaponclassnew( "weapon_equipment" ) ) || getplayerdata( "featureNew" , "cac" ) ) )
		}
		itemDef
		{
			name "private_lobby_playercard"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PLAYERCARD_CAPS"
			disabled when ( !isitemunlocked( "playercard" ) )
			action
			{
				play "mouse_click";
				open "popup_callsign";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "playercard" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LIVE" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LOCKED" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 88 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "featureNew" , "cas" ) || getplayerdata( "featureNew" , "token_1" ) || getplayerdata( "featureNew" , "token_2" ) || getplayerdata( "featureNew" , "token_3" ) || getplayerdata( "featureNew" , "token_4" ) || getplayerdata( "featureNew" , "token_5" ) || getplayerdata( "featureNew" , "token_6" ) || getplayerdata( "featureNew" , "token_7" ) || getplayerdata( "featureNew" , "token_8" ) || getplayerdata( "featureNew" , "token_9" ) || getplayerdata( "featureNew" , "token_10" ) || getplayerdata( "featureNew" , "token_11" ) || getplayerdata( "featureNew" , "token_12" ) ) || getplayerdata( "featureNew" , "clantag" ) || ( getplayerdataanybooltrue( "iconNew" ) || getplayerdata( "featureNew" , "playercard_icon" ) ) || ( getplayerdataanybooltrue( "titleNew" ) || getplayerdata( "featureNew" , "playercard_title" ) ) )
		}
		itemDef
		{
			name "private_lobby_barracks"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BARRACKS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_online_barracks";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_BARRACKS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 108 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "challengeTierNew" ) || getplayerdata( "featureNew" , "challenges" ) ) || getplayerdata( "featureNew" , "challenges" ) || ( ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && getplayerdata( "featureNew" , "prestige" ) ) ) )
		}
		itemDef
		{
			rect 0 128 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "private_lobby_invite"
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_INVITE_CAPS"
			disabled when ( dvarbool( "ui_partyFull" ) )
			execKey "APAD_DOWN"
			{
				focusfirst;
			}
			execKey "DPAD_DOWN"
			{
				focusfirst;
			}
			action
			{
				play "mouse_click";
				exec "xshowfriendslist";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MENU_DESC_INVITE_FRIENDS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 0 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( dvarbool( "ui_partyFull" ) && getfocuseditemname( ) == "private_lobby_invite" )
			execKey "APAD_DOWN"
			{
				focusfirst;
			}
			execKey "DPAD_DOWN"
			{
				focusfirst;
			}
		}
		itemDef
		{
			rect 0 168 212 36 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 21
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( !localvarbool( "ui_centerPopup" ) && !localvarbool( "ui_leftPopup" ) )
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect -272 28 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect -272 48 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect -272 68 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect -272 88 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect -272 108 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 4 ) != 0 ) )
		}
		itemDef
		{
			rect -272 128 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 5 ) != 0 ) )
		}
		itemDef
		{
			rect -272 148 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 6 ) != 0 ) )
		}
		itemDef
		{
			rect -272 168 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 7 ) != 0 ) )
		}
		itemDef
		{
			rect -272 188 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 8 ) != 0 ) )
		}
		itemDef
		{
			rect -272 208 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 9 ) != 0 ) )
		}
		itemDef
		{
			rect -272 228 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 10 ) != 0 ) )
		}
		itemDef
		{
			rect -272 248 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 11 ) != 0 ) )
		}
		itemDef
		{
			rect -272 268 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 12 ) != 0 ) )
		}
		itemDef
		{
			rect -272 288 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 13 ) != 0 ) )
		}
		itemDef
		{
			rect -272 308 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 14 ) != 0 ) )
		}
		itemDef
		{
			rect -272 328 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 15 ) != 0 ) )
		}
		itemDef
		{
			rect -272 348 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 16 ) != 0 ) )
		}
		itemDef
		{
			rect -272 368 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 17 ) != 0 ) )
		}
		itemDef
		{
			rect -272 0 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "playercard_short_bg"
			textscale 0.55
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
		}
		itemDef
		{
			name "lobbyList"
			rect -272 27 272 380 3 1
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 48
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		0		0		1		  0
			noscrollbars
			doubleclick
			{
				play "mouse_click" open "player_popup_privatematch";
			}
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 18
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		38		16		40		  0
			noscrollbars
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textalignx 20
			textaligny -2
			textscale 0.375
			feeder 39
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 2		194		20		3		  1
							194		20		3		  1
			noscrollbars
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			type 6
			textaligny -2
			textscale 0.375
			feeder 35
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		230		40		4		  2
			noscrollbars
		}
		itemDef
		{
			name "bothteams_skill"
			rect -272 27 272 380 3 1
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 45
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		-20		16		40		  2
			noscrollbars
		}
		itemDef
		{
			rect 0 0 272 40 3 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "playercard_bg"
			textscale 0.55
			exp rect x ( - 268 )
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 248 )
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 - 4 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 5 ) )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 248 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 10
			textaligny 4
			textscale 0.3333
			textstyle 8
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) + 20 )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , dvarint( "party_selectedIndex" ) ) )
		}
		itemDef
		{
			rect 0 0 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 160 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , dvarint( "party_selectedIndex" ) ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && ( getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) , ( getplayercardinfo( 5 , 3 , dvarint( "party_selectedIndex" ) ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 222 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && ( getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) , 14 ) )
		}
		itemDef
		{
			rect 0 0 40 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) + 18 )
			visible when ( getfocuseditemname( ) == "lobbyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && getplayercardinfo( 9 , 3 , dvarint( "party_selectedIndex" ) ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 3 , dvarint( "party_selectedIndex" ) ) + "]" )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 19
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		0		20		40		  0
			noscrollbars
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.45
			background "shadow_inset"
			textscale 0.55
		}
		itemDef
		{
			rect 0 -18 726 18 1 3
			decoration
			visible 1
			forecolor 1 1 1 0.9
			bordercolor 0 0 0 0.5
			background "gradient"
			type 20
			textscale 0.375
			newsfeed 1
			speed 50
			spacing 30
			exp rect w ( 544 + ( dvarint( "widescreen" ) * 182 ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -68 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_GAME_SUMMARY_CAPS"
		}
		itemDef
		{
			rect -64 -44 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_xboxlive_teams"
		rect 0 0 0 0 0 0
		forecolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( 0 )
		onOpen
		{
			close self;
		}
		onClose
		{
		}
		onEsc
		{
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.5
			textfont 1
			textalign 5
			textalignx -60
			textaligny 6
			textscale 0.375
			dvar "party_statusString"
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && 0 )
		}
		itemDef
		{
			rect -272 -130 200 200 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.65
			textfont 9
			textalign 5
			textaligny 130
			textscale 0.5833
			textstyle 6
			exp glowcolor r ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) )
			exp glowcolor g ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) )
			exp glowcolor b ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) )
			exp glowcolor a ( 1 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && player( "teamname" ) == "TEAM_ALLIES" )
			exp text ( "@" + tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 1 ) )
			exp material ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 5 ) )
		}
		itemDef
		{
			rect -272 -130 200 200 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.65
			textfont 9
			textalign 5
			textaligny 130
			textscale 0.5833
			textstyle 6
			exp glowcolor r ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) )
			exp glowcolor g ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) )
			exp glowcolor b ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) )
			exp glowcolor a ( 1 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && player( "teamname" ) == "TEAM_AXIS" )
			exp text ( "@" + tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 1 ) )
			exp material ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 5 ) )
		}
		itemDef
		{
			rect 72 -70 200 200 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.65
			textfont 9
			textalign 5
			textaligny 70
			textscale 0.5833
			textstyle 6
			exp glowcolor r ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 14 ) )
			exp glowcolor g ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 15 ) )
			exp glowcolor b ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 16 ) )
			exp glowcolor a ( 1 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && player( "teamname" ) == "TEAM_ALLIES" )
			exp text ( "@" + tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 1 ) )
			exp material ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "axischar" ) , 5 ) )
		}
		itemDef
		{
			rect 72 -70 200 200 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.65
			textfont 9
			textalign 5
			textaligny 70
			textscale 0.5833
			textstyle 6
			exp glowcolor r ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 14 ) )
			exp glowcolor g ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 15 ) )
			exp glowcolor b ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 16 ) )
			exp glowcolor a ( 1 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && player( "teamname" ) == "TEAM_AXIS" )
			exp text ( "@" + tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 1 ) )
			exp material ( tablelookup( "mp/factionTable.csv" , 0 , getmapcustom( "allieschar" ) , 5 ) )
		}
		itemDef
		{
			rect 0 -100 0 200 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textaligny 100
			textscale 0.5833
			textstyle 6
			text "VS."
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) )
		}
		itemDef
		{
			rect 136 45 0 0 8 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			textstyle 6
			text "VS."
			visible when ( ( !dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 45 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 0 ) ) && dvarint( "party_maxPlayers" ) > 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 1 * 45 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 1 ) ) && dvarint( "party_maxPlayers" ) > 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 2 * 45 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 2 ) ) && dvarint( "party_maxPlayers" ) > 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 3 * 45 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 3 ) ) && dvarint( "party_maxPlayers" ) > 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 4 * 45 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 4 ) ) && dvarint( "party_maxPlayers" ) > 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 5 * 45 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 5 ) ) && dvarint( "party_maxPlayers" ) > 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 6 * 45 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 6 ) ) && dvarint( "party_maxPlayers" ) > 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 7 * 45 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 7 ) ) && dvarint( "party_maxPlayers" ) > 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 8 * 45 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 8 ) ) && dvarint( "party_maxPlayers" ) > 12 )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 0 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 0 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 0 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 1 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 1 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 1 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 1 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 1 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 1 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 1 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 1 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 1 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 2 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 2 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 2 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 2 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 2 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 2 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 2 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 2 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 2 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 2 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 3 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 3 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 3 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 3 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 3 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 3 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 3 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 3 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 3 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 3 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 4 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 4 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 4 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 4 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 4 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 4 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 4 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 4 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 4 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 4 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 4 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 4 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 5 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 5 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 5 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 5 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 5 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 5 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 5 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 5 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 5 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 5 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 6 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 6 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 6 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 6 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 6 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 6 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 6 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 6 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 6 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 6 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 6 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 6 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 6 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 6 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 6 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 6 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 6 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 7 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 7 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 7 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 7 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 7 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 7 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 7 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 7 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 7 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 7 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 7 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 7 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 7 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 7 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 7 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 7 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 7 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 8 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 8 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 8 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 8 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 8 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 8 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 8 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 8 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 8 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 8 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 8 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 8 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 8 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 8 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 8 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 4 , 8 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 8 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 0 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 0 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 0 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 0 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 0 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 0 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 1 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 1 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 1 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 1 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 1 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 1 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 1 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 1 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 21 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 1 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 2 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 2 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 2 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 2 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 2 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 2 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 2 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 2 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 2 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 2 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 3 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 3 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 3 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 3 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 3 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 3 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 3 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 3 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 3 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 15 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 3 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 4 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 4 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 4 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 4 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 4 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 4 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 4 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 4 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 4 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 4 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 4 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 4 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 5 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 5 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 5 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 5 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 5 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 5 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 5 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 5 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 5 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 9 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 5 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 6 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 6 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 6 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 6 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 6 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 6 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 6 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 6 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 6 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 6 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 6 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 6 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 6 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 6 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 6 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 6 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 6 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 7 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 7 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 7 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 7 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 7 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 7 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 7 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 7 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 7 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 7 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 7 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 7 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 7 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 7 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 3 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 7 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 7 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 7 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 8 * 45 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 8 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 8 * 45 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 8 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 8 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 8 * 45 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 8 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 8 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 8 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 8 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 8 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 8 * 45 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 8 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 8 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 8 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 8 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 8 * 45 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) > 12 && ( getplayercardinfo( 0 , 5 , 8 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 8 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 68 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 0 ) ) && dvarint( "party_maxPlayers" ) <= 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 1 * 68 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 1 ) ) && dvarint( "party_maxPlayers" ) <= 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 2 * 68 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 2 ) ) && dvarint( "party_maxPlayers" ) <= 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 3 * 68 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 3 ) ) && dvarint( "party_maxPlayers" ) <= 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 4 * 68 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 4 ) ) && dvarint( "party_maxPlayers" ) <= 12 )
		}
		itemDef
		{
			rect 0 0 -208 56 1 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 5 * 68 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) == getplayercardinfo( 8 , 4 , 5 ) ) && dvarint( "party_maxPlayers" ) <= 12 )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 0 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 0 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 0 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 1 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 1 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 1 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 1 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 1 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 1 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 1 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 1 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 1 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 2 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 2 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 2 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 2 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 2 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 2 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 2 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 2 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 2 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 2 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 3 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 3 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 3 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 3 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 3 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 3 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 3 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 3 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 3 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 3 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 4 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 4 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 4 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 4 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 4 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 4 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 4 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 4 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 4 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 4 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 4 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 4 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 4 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 1 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 5 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 5 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 5 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 5 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 5 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 5 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 5 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 4 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 5 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 4 , 5 ) )
		}
		itemDef
		{
			rect 0 0 48 48 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 5 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 4 , 5 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 4 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 0 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 0 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 0 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 0 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 0 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 0 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 1 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 1 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 1 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 1 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 1 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 1 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 1 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 1 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 24 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 1 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 2 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 2 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 2 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 2 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 2 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 2 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 2 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 2 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 2 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 2 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 3 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 3 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 3 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 3 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 3 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 3 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 3 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 3 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 3 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 12 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 3 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 4 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 4 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 4 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 4 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 4 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 4 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 4 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 4 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 4 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 4 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 4 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 4 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 4 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 3 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 5 * 68 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 5 * 68 - 2 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 5 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 5 * 68 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 5 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 5 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 5 ) , 5 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 5 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 5 * 68 ) + 28 )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 5 , 5 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 0 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 5 * 68 ) )
			visible when ( ( dvarbool( "party_teamsVisible" ) && dvarbool( "party_teamBased" ) && dvarbool( "party_autoteams" ) ) && dvarint( "party_maxPlayers" ) <= 12 && ( getplayercardinfo( 0 , 5 , 5 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 5 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 -208 56 8 8
			style 3
			decoration
			visible 1
			forecolor 0.25 0.75 0.25 1
			background "playercard_team_bg"
			textscale 0.55
			exp rect x ( 0 - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 58 - ( ( 72 / 1.5 ) - ( 60 / 1.5 ) ) )
			exp forecolor a ( ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) )
		}
		itemDef
		{
			rect 0 0 208 48 8 8
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( 0 - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 58 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 8 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( 0 - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 58 - 2 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 8 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( 0 - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( 0 + 0 * 58 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 8 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( 0 - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) )
			exp rect y ( ( 0 + 0 * 58 ) + 28 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 8 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 - ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 0 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 0 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) + 158 )
			exp rect y ( ( 0 + 0 * 58 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 10 8
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 0 * 58 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 0 ) ) && ( getplayercardinfo( 0 , 3 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 0 * 58 - 2 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 0 ) ) && ( getplayercardinfo( 0 , 3 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 0 * 58 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 0 ) , 5 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 0 ) ) && ( getplayercardinfo( 0 , 3 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 0 * 58 ) + 28 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 0 ) ) && ( getplayercardinfo( 0 , 3 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 1 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 1 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 0 * 58 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 0 ) ) && ( getplayercardinfo( 0 , 3 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 10 8
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 1 * 58 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 1 ) ) && ( getplayercardinfo( 0 , 3 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 1 * 58 - 2 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 1 ) ) && ( getplayercardinfo( 0 , 3 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 1 * 58 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 1 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 1 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 1 ) , 5 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 1 ) ) && ( getplayercardinfo( 0 , 3 , 1 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 1 * 58 ) + 28 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 1 ) ) && ( getplayercardinfo( 0 , 3 , 1 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , 1 ) )
		}
		itemDef
		{
			rect 0 0 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 2 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 2 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 1 * 58 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 1 ) ) && ( getplayercardinfo( 0 , 3 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 10 8
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 2 * 58 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 2 ) ) && ( getplayercardinfo( 0 , 3 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 2 * 58 - 2 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 2 ) ) && ( getplayercardinfo( 0 , 3 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 2 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 2 * 58 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 2 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 2 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 2 ) , 5 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 2 ) ) && ( getplayercardinfo( 0 , 3 , 2 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 2 * 58 ) + 28 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 2 ) ) && ( getplayercardinfo( 0 , 3 , 2 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , 2 ) )
		}
		itemDef
		{
			rect 0 0 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 3 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 3 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 2 * 58 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 2 ) ) && ( getplayercardinfo( 0 , 3 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 10 8
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 3 * 58 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 3 ) ) && ( getplayercardinfo( 0 , 3 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 3 * 58 - 2 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 3 ) ) && ( getplayercardinfo( 0 , 3 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 3 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 3 * 58 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 3 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 3 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 3 ) , 5 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 3 ) ) && ( getplayercardinfo( 0 , 3 , 3 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 3 * 58 ) + 28 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 3 ) ) && ( getplayercardinfo( 0 , 3 , 3 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , 3 ) )
		}
		itemDef
		{
			rect 0 0 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 4 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 4 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 3 * 58 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 3 ) ) && ( getplayercardinfo( 0 , 3 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 10 8
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 4 * 58 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 4 ) ) && ( getplayercardinfo( 0 , 3 , 4 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 4 * 58 - 2 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 4 ) ) && ( getplayercardinfo( 0 , 3 , 4 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 4 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 4 * 58 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 4 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 4 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 4 ) , 5 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 4 ) ) && ( getplayercardinfo( 0 , 3 , 4 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 4 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 4 * 58 ) + 28 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 4 ) ) && ( getplayercardinfo( 0 , 3 , 4 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , 4 ) )
		}
		itemDef
		{
			rect 0 0 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 6 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 5 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 5 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 4 * 58 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 4 ) ) && ( getplayercardinfo( 0 , 3 , 4 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , 4 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 10 8
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 5 * 58 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 5 ) ) && ( getplayercardinfo( 0 , 3 , 5 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 5 * 58 - 2 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 5 ) ) && ( getplayercardinfo( 0 , 3 , 5 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 5 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 5 * 58 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 5 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 5 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 5 ) , 5 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 5 ) ) && ( getplayercardinfo( 0 , 3 , 5 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 5 * 58 ) + 28 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 5 ) ) && ( getplayercardinfo( 0 , 3 , 5 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , 5 ) )
		}
		itemDef
		{
			rect 0 0 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 18 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 6 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 6 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 5 * 58 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 5 ) ) && ( getplayercardinfo( 0 , 3 , 5 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 48 10 8
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 6 * 58 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 6 ) ) && ( getplayercardinfo( 0 , 3 , 6 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 6 * 58 - 2 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 6 ) ) && ( getplayercardinfo( 0 , 3 , 6 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 6 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( 0 + 6 * 58 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 6 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 6 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 6 ) , 5 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 6 ) ) && ( getplayercardinfo( 0 , 3 , 6 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , 6 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 160 18 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) )
			exp rect y ( ( 0 + 6 * 58 ) + 28 )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 6 ) ) && ( getplayercardinfo( 0 , 3 , 6 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , 6 ) )
		}
		itemDef
		{
			rect 0 0 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 - ( 30 * localvarfloat( "ui_cardOffsetScale" ) ) ) + ( ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_switchTime" ) + ( 7 * 400 ) ) / 300 ) , 1 ) , 0 ) * 640 ) + ( min( max( ( milliseconds( ) - localvarint( "ui_switchTime2" ) + ( 7 * 200 ) ) / 150 , 0 ) , 1 ) * 640 ) ) ) - ( 208 ) ) + 158 )
			exp rect y ( ( 0 + 6 * 58 ) )
			visible when ( ( !dvarbool( "party_teamBased" ) ) && ( getplayercardinfo( 8 , 1 , 0 ) != getplayercardinfo( 8 , 3 , 6 ) ) && ( getplayercardinfo( 0 , 3 , 6 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , 6 ) , 1 ) )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_gamesetup_systemlink"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
			exec "exec dvar_defaults.cfg";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.44
			text "@PLATFORM_SYSTEM_LINK_SETUP"
		}
		itemDef
		{
			name "systemlink_startmatch"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_START_GAME_CAPS"
			action
			{
				play "mouse_click";
				exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
				uiScript "StartServer";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MENU_DESC_START_MATCH" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "systemlink_setupmatch"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_GAME_SETUP_CAPS"
			action
			{
				play "mouse_click";
				open "popup_gamesetup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_GAME_SETUP" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 68 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "systemlink_cac"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CREATE_A_CLASS_CAPS"
			disabled when ( !isitemunlocked( "cac" ) )
			action
			{
				play "mouse_click";
				open "cac_popup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "cac" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_A_CLASS" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 68 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "weaponNew" ) || getplayerdataanybooltrue( "camoNew" ) || getplayerdataanybooltrue( "attachmentNew" ) ) || getplayerdataanybooltrue( "perkNew" ) || ( ( getplayerdata( "perkNew" , "frag_grenade_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "semtex_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "c4_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "claymore_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "throwingknife_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_tacticalinsertion" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_blastshield" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) || weaponclassnew( "weapon_grenade" ) || weaponclassnew( "weapon_equipment" ) ) || getplayerdata( "featureNew" , "cac" ) ) )
		}
		itemDef
		{
			name "live_playercard"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PLAYERCARD_CAPS"
			disabled when ( !isitemunlocked( "playercard" ) )
			action
			{
				play "mouse_click";
				open "popup_callsign";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				if ( isitemunlocked( "playercard" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LOCKED" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 88 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "featureNew" , "cas" ) || getplayerdata( "featureNew" , "token_1" ) || getplayerdata( "featureNew" , "token_2" ) || getplayerdata( "featureNew" , "token_3" ) || getplayerdata( "featureNew" , "token_4" ) || getplayerdata( "featureNew" , "token_5" ) || getplayerdata( "featureNew" , "token_6" ) || getplayerdata( "featureNew" , "token_7" ) || getplayerdata( "featureNew" , "token_8" ) || getplayerdata( "featureNew" , "token_9" ) || getplayerdata( "featureNew" , "token_10" ) || getplayerdata( "featureNew" , "token_11" ) || getplayerdata( "featureNew" , "token_12" ) ) || ( getplayerdataanybooltrue( "iconNew" ) || getplayerdata( "featureNew" , "playercard_icon" ) ) || ( getplayerdataanybooltrue( "titleNew" ) || getplayerdata( "featureNew" , "playercard_title" ) ) )
		}
		itemDef
		{
			name "systemlink_barracks"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BARRACKS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_offline_barracks";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_BARRACKS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 108 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "challengeTierNew" ) || getplayerdata( "featureNew" , "challenges" ) ) || getplayerdata( "featureNew" , "challenges" ) || ( ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && getplayerdata( "featureNew" , "prestige" ) ) ) )
		}
		itemDef
		{
			rect 0 168 212 36 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( !localvarbool( "ui_centerPopup" ) && !localvarbool( "ui_leftPopup" ) )
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect 0 -199 216 122 1 3
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( getmapimage( ) )
		}
		itemDef
		{
			rect 0 -199 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.5
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			exp text ( getmapname( ) )
		}
		itemDef
		{
			rect 0 -179 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			backcolor 1 0 0 0.25
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			visible when ( dvarstring( "party_vetoStatus" ) != "" )
			exp text ( dvarstring( "party_vetoStatus" ) )
		}
		itemDef
		{
			rect 0 -97 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 0.5
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , dvarstring( "ui_gametype" ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_gamesetup_splitscreen"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		execKey "BUTTON_Y"
		{
			open "popup_summary_splitscreen";
			play "mouse_click";
		}
		onOpen
		{
			if ( dvarbool( "ui_opensummary" ) )
			{
				setLocalVarInt "ui_autoopened" ( 1 );
				open "popup_summary_splitscreen";
				setdvar "ui_opensummary" 0;
			}
			setfocus "splitscreen_gamesetup";
			exec "exec dvar_defaults.cfg";
		}
		onEsc
		{
			if ( dvarbool( "splitscreen" ) )
			{
				if ( splitscreenplayercount( ) >= 1 )
				{
					setPlayerDataSplitscreen( 0 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 2 )
				{
					setPlayerDataSplitscreen( 1 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 3 )
				{
					setPlayerDataSplitscreen( 2 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 4 )
				{
					setPlayerDataSplitscreen( 3 , "round" , "awardCount" , 0 );
				}
			}
			else
			{
				setPlayerData( "round" , "awardCount" , 0 );
			}
			uiScript "clearClientMatchData";
			exec "splitscreencontrols";
			close "menu_gamesetup_splitscreen";
			open "menu_splitscreensignin";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.44
			text "@MENU_SPLIT_SCREEN_SETUP"
		}
		itemDef
		{
			name "splitscreen_startmatch"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_START_MATCH_CAPS"
			action
			{
				play "mouse_click";
				exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
				uiScript "StartServer";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MENU_DESC_START_MATCH" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "splitscreen_gamesetup"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_GAME_SETUP_CAPS"
			action
			{
				play "mouse_click";
				open "popup_gamesetup";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_GAME_SETUP" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 68 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "splitscreen_cac"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CREATE_A_CLASS_CAPS"
			action
			{
				play "mouse_click";
				execnow "nosplitscreen";
				if ( isitemunlocked( "cac" ) )
				{
					open "cac_popup";
				}
				else
				{
					play "action_denied";
					setLocalVarInt "ui_lockedHintTime" ( milliseconds( ) );
					setLocalVarString "ui_lockedHintDesc" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) , 17 ) );
					execnow "splitscreencontrols";
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_A_CLASS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "splitscreen_cards"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_PLAYERCARD_CAPS"
			action
			{
				play "mouse_click";
				execnow "nosplitscreen";
				if ( isitemunlocked( "playercard" ) )
				{
					open "popup_callsign";
				}
				else
				{
					play "action_denied";
					setLocalVarInt "ui_lockedHintTime" ( milliseconds( ) );
					setLocalVarString "ui_lockedHintDesc" ( "@MPUI_DESC_PLAYERCARD" );
					execnow "splitscreencontrols";
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "splitscreen_barracks"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BARRACKS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_offline_barracks";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_BARRACKS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 168 212 36 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( !localvarbool( "ui_centerPopup" ) && !localvarbool( "ui_leftPopup" ) && ( ( localvarint( "ui_lockedHintTime" ) + ( 2000 + 1000 ) ) < milliseconds( ) ) )
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect 0 168 212 36 1 1
			decoration
			autowrapped
			visible 1
			forecolor 0.85 0.4 0.4 1
			textfont 3
			textalign 6
			textscale 0.375
			textstyle 8
			exp forecolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "ui_lockedHintTime" ) + 2000 ) / 1000 ) , 1 ) , 0 ) )
			visible when ( !localvarbool( "ui_centerPopup" ) && !localvarbool( "ui_leftPopup" ) )
			exp text ( localvarstring( "ui_lockedHintDesc" ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -44 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_GAME_SUMMARY_CAPS"
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect 0 -199 216 122 1 3
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( getmapimage( ) )
		}
		itemDef
		{
			rect 0 -199 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.5
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			exp text ( getmapname( ) )
		}
		itemDef
		{
			rect 0 -179 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			backcolor 1 0 0 0.25
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			visible when ( dvarstring( "party_vetoStatus" ) != "" )
			exp text ( dvarstring( "party_vetoStatus" ) )
		}
		itemDef
		{
			rect 0 -97 216 20 1 3
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			backcolor 0 0 0 0.5
			background "white"
			textfont 3
			textalign 6
			textalignx -4
			textscale 0.375
			exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , dvarstring( "ui_gametype" ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 272 40 3 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "playercard_bg"
			textscale 0.55
			exp rect x ( - 268 )
			exp rect y ( 28 + ( 0 * 42 ) - 10 )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 248 )
			exp rect y ( 28 + ( 0 * 42 ) - 10 - 4 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 248 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 10
			textaligny 4
			textscale 0.3333
			textstyle 8
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 28 + ( 0 * 42 ) - 10 ) + 20 )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 0 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 160 )
			exp rect y ( ( 28 + ( 0 * 42 ) - 10 ) )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( 0 * 42 ) - 10 ) )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , ( getplayercardinfo( 5 , 1 , 0 ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 222 )
			exp rect y ( ( 28 + ( 0 * 42 ) - 10 ) )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , 14 ) )
		}
		itemDef
		{
			rect 0 0 40 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( 0 * 42 ) - 10 ) + 18 )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && getplayercardinfo( 9 , 1 , 0 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 1 , 0 ) + "]" )
		}
		itemDef
		{
			rect 0 0 272 40 3 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "playercard_bg"
			textscale 0.55
			exp rect x ( - 268 )
			exp rect y ( 28 + ( 1 * 42 ) - 10 )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 248 )
			exp rect y ( 28 + ( 1 * 42 ) - 10 - 4 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 1 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 1 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 1 ) , 5 ) )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 1 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 248 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 10
			textaligny 4
			textscale 0.3333
			textstyle 8
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 28 + ( 1 * 42 ) - 10 ) + 20 )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 1 ) )
		}
		itemDef
		{
			rect 0 0 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 160 )
			exp rect y ( ( 28 + ( 1 * 42 ) - 10 ) )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( 1 * 42 ) - 10 ) )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 1 ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 1 , 1 ) , ( getplayercardinfo( 5 , 1 , 1 ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 222 )
			exp rect y ( ( 28 + ( 1 * 42 ) - 10 ) )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 1 ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 1 , 1 ) , 14 ) )
		}
		itemDef
		{
			rect 0 0 40 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( 1 * 42 ) - 10 ) + 18 )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) && getplayercardinfo( 9 , 1 , 1 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 1 , 1 ) + "]" )
		}
		itemDef
		{
			rect 0 0 272 40 3 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "playercard_bg"
			textscale 0.55
			exp rect x ( - 268 )
			exp rect y ( 28 + ( 2 * 42 ) - 10 )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 248 )
			exp rect y ( 28 + ( 2 * 42 ) - 10 - 4 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 2 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 2 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 2 ) , 5 ) )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 2 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 2 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 248 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 10
			textaligny 4
			textscale 0.3333
			textstyle 8
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 28 + ( 2 * 42 ) - 10 ) + 20 )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 2 ) )
		}
		itemDef
		{
			rect 0 0 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 160 )
			exp rect y ( ( 28 + ( 2 * 42 ) - 10 ) )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( 2 * 42 ) - 10 ) )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 2 ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 1 , 2 ) , ( getplayercardinfo( 5 , 1 , 2 ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 222 )
			exp rect y ( ( 28 + ( 2 * 42 ) - 10 ) )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 2 ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 1 , 2 ) , 14 ) )
		}
		itemDef
		{
			rect 0 0 40 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( 2 * 42 ) - 10 ) + 18 )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) && getplayercardinfo( 9 , 1 , 2 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 1 , 2 ) + "]" )
		}
		itemDef
		{
			rect 0 0 272 40 3 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "playercard_bg"
			textscale 0.55
			exp rect x ( - 268 )
			exp rect y ( 28 + ( 3 * 42 ) - 10 )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 248 )
			exp rect y ( 28 + ( 3 * 42 ) - 10 - 4 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 3 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 3 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 3 ) , 5 ) )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 3 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 3 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 248 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 10
			textaligny 4
			textscale 0.3333
			textstyle 8
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 28 + ( 3 * 42 ) - 10 ) + 20 )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 3 ) )
		}
		itemDef
		{
			rect 0 0 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 160 )
			exp rect y ( ( 28 + ( 3 * 42 ) - 10 ) )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( 3 * 42 ) - 10 ) )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 3 ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 1 , 3 ) , ( getplayercardinfo( 5 , 1 , 3 ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 222 )
			exp rect y ( ( 28 + ( 3 * 42 ) - 10 ) )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 3 ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 1 , 3 ) , 14 ) )
		}
		itemDef
		{
			rect 0 0 40 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( 3 * 42 ) - 10 ) + 18 )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) && getplayercardinfo( 9 , 1 , 3 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 1 , 3 ) + "]" )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "cac_not_unlocked"
		rect -150 -124 300 124 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 300 124 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -214 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -188 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_CREATE_A_CLASS"
		}
		itemDef
		{
			rect -146 -100 292 20 2 2
			group "mw2_popup_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "Create a Class and Custom Killstreaks are unlocked at Lance Corporal (Level 4). Only players who have reached level 4 may access this option."
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "ok_button"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_OK"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -124 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "noprofilewarning_splitscreen"
		rect -150 -124 300 124 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setfocus "cancel_button";
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
			close self;
			execnow "startsplitscreensignin";
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -604 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 300 124 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -124 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -124 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
		}
		itemDef
		{
			rect -214 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -188 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -188 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -124 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 5 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -124 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_WARNING"
		}
		itemDef
		{
			rect -146 -100 292 20 2 2
			group "mw2_popup_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@PLATFORM_ONE_OR_MORE_PLAYERS_NOT_SIGNED_IN_OFFLINE"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "yes_button"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_YES"
			action
			{
				play "mouse_click";
				close self;
				close "menu_splitscreensignin";
				open "menu_gamesetup_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "cancel_button"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_NO"
			action
			{
				play "mouse_click";
				close self;
				execnow "startsplitscreensignin";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -124 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "settings_map"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
			setfocusbydvar "ui_mapname";
		}
		onClose
		{
			execnow "xupdatepartystate";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 28 640 356 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 356 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 384 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 384 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 384 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 356 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_CHOOSE_MAP_CAP"
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 0.55 0.93 0.56 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			exp text ( "@PATCH_DLC_MAPS" )
			action
			{
				play "mouse_click";
				open "settings_bonus_map";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "PATCH_DLC_MAPS" );
				setLocalVarString "ui_info_icon" ( "loadscreen_mp_bonusmaps" );
				if ( dowehavemappack( 4 ) || dowehavemappack( 8 ) )
				{
					setLocalVarString "ui_info_desc" ( "PATCH_DLC_MAPS_DESC" );
				}
				else
				{
					setLocalVarString "ui_info_desc" ( "PATCH_NEW_MAPS_PSN" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_afghan" }
			exp text ( "@" + "MPUI_AFGHAN" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_afghan";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_AFGHAN" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_AFGHAN" );
				setLocalVarString "ui_info_icon" ( "preview_mp_afghan" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_derail" }
			exp text ( "@" + "MPUI_DERAIL" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_derail";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_DERAIL" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_DERAIL" );
				setLocalVarString "ui_info_icon" ( "preview_mp_derail" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_estate" }
			exp text ( "@" + "MPUI_ESTATE" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_estate";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_ESTATE" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_ESTATE" );
				setLocalVarString "ui_info_icon" ( "preview_mp_estate" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_favela" }
			exp text ( "@" + "MPUI_FAVELA" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_favela";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_FAVELA" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_FAVELA" );
				setLocalVarString "ui_info_icon" ( "preview_mp_favela" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_highrise" }
			exp text ( "@" + "MPUI_HIGHRISE" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_highrise";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_HIGHRISE" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_HIGHRISE" );
				setLocalVarString "ui_info_icon" ( "preview_mp_highrise" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 148 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_invasion" }
			exp text ( "@" + "MPUI_INVASION" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_invasion";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_INVASION" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_INVASION" );
				setLocalVarString "ui_info_icon" ( "preview_mp_invasion" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 168 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_checkpoint" }
			exp text ( "@" + "MPUI_CHECKPOINT" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_checkpoint";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_CHECKPOINT" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_CHECKPOINT" );
				setLocalVarString "ui_info_icon" ( "preview_mp_checkpoint" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 188 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_quarry" }
			exp text ( "@" + "MPUI_QUARRY" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_quarry";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_QUARRY" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_QUARRY" );
				setLocalVarString "ui_info_icon" ( "preview_mp_quarry" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 208 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_rundown" }
			exp text ( "@" + "MPUI_RUNDOWN" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_rundown";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_RUNDOWN" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_RUNDOWN" );
				setLocalVarString "ui_info_icon" ( "preview_mp_rundown" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 228 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_rust" }
			exp text ( "@" + "MPUI_RUST" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_rust";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_RUST" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_RUST" );
				setLocalVarString "ui_info_icon" ( "preview_mp_rust" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 248 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_boneyard" }
			exp text ( "@" + "MPUI_BONEYARD" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_boneyard";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_BONEYARD" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_BONEYARD" );
				setLocalVarString "ui_info_icon" ( "preview_mp_boneyard" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 268 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_nightshift" }
			exp text ( "@" + "MPUI_RAID" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_nightshift";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_RAID" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_NIGHTSHIFT" );
				setLocalVarString "ui_info_icon" ( "preview_mp_nightshift" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 288 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_subbase" }
			exp text ( "@" + "MPUI_SUBBASE" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_subbase";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_SUBBASE" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_SUBBASE" );
				setLocalVarString "ui_info_icon" ( "preview_mp_subbase" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 308 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_terminal" }
			exp text ( "@" + "MPUI_TERMINAL" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_terminal";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_TERMINAL" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_TERMINAL" );
				setLocalVarString "ui_info_icon" ( "preview_mp_terminal" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 328 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_underpass" }
			exp text ( "@" + "MPUI_UNDERPASS" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_underpass";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_UNDERPASS" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_UNDERPASS" );
				setLocalVarString "ui_info_icon" ( "preview_mp_underpass" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 348 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_mapname"
			focusDvar { "mp_brecourt" }
			exp text ( "@" + "MPUI_WASTELAND" )
			action
			{
				play "mouse_click";
				setdvar "ui_mapname" "mp_brecourt";
				close "settings_map";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "MPUI_WASTELAND" );
				setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_BRECOURT" );
				setLocalVarString "ui_info_icon" ( "preview_mp_brecourt" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -292 28 292 356 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.7
			background "black"
			textscale 0.55
		}
		itemDef
		{
			name "mapimage"
			rect -282 50 272 153 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( localvarstring( "ui_info_icon" ) )
		}
		itemDef
		{
			name "longname"
			rect -282 28 272 22 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textscale 0.375
			exp text ( "@" + localvarstring( "ui_info_name" ) )
		}
		itemDef
		{
			name "description"
			rect -282 203 272 20 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textscale 0.375
			exp text ( "@" + localvarstring( "ui_info_desc" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_gametype"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
			setfocusbydvar "ui_gametype";
		}
		onClose
		{
			execnow "xupdatepartystate";
		}
		onEsc
		{
			close "settings_gametype";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.44
			text "@MENU_CHOOSE_GAME_MODE_CAP"
		}
		itemDef
		{
			rect 0 28 640 356 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 356 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 384 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 384 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 384 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 356 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_gametype"
			focusDvar { "dm" }
			exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "dm" , 1 ) + "_CAPS" )
			action
			{
				play "mouse_click";
				setdvar "ui_gametype" "dm";
				execOnDvarIntValue "splitscreen" 1 "exec default_splitscreen.cfg";
				execOnDvarIntValue "systemlink" 1 "exec default_systemlink.cfg";
				execOnDvarIntValue "xblive_privatematch" 1 "exec default_xboxlive.cfg";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "dm" , 1 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "dm" , 2 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/gameTypesTable.csv" , 0 , "dm" , 3 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_gametype"
			focusDvar { "war" }
			exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "war" , 1 ) + "_CAPS" )
			action
			{
				play "mouse_click";
				setdvar "ui_gametype" "war";
				execOnDvarIntValue "splitscreen" 1 "exec default_splitscreen.cfg";
				execOnDvarIntValue "systemlink" 1 "exec default_systemlink.cfg";
				execOnDvarIntValue "xblive_privatematch" 1 "exec default_xboxlive.cfg";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "war" , 1 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "war" , 2 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/gameTypesTable.csv" , 0 , "war" , 3 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_gametype"
			focusDvar { "sd" }
			exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "sd" , 1 ) + "_CAPS" )
			action
			{
				play "mouse_click";
				setdvar "ui_gametype" "sd";
				execOnDvarIntValue "splitscreen" 1 "exec default_splitscreen.cfg";
				execOnDvarIntValue "systemlink" 1 "exec default_systemlink.cfg";
				execOnDvarIntValue "xblive_privatematch" 1 "exec default_xboxlive.cfg";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "sd" , 1 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "sd" , 2 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/gameTypesTable.csv" , 0 , "sd" , 3 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_gametype"
			focusDvar { "sab" }
			exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "sab" , 1 ) + "_CAPS" )
			action
			{
				play "mouse_click";
				setdvar "ui_gametype" "sab";
				execOnDvarIntValue "splitscreen" 1 "exec default_splitscreen.cfg";
				execOnDvarIntValue "systemlink" 1 "exec default_systemlink.cfg";
				execOnDvarIntValue "xblive_privatematch" 1 "exec default_xboxlive.cfg";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "sab" , 1 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "sab" , 2 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/gameTypesTable.csv" , 0 , "sab" , 3 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_gametype"
			focusDvar { "dom" }
			exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "dom" , 1 ) + "_CAPS" )
			action
			{
				play "mouse_click";
				setdvar "ui_gametype" "dom";
				execOnDvarIntValue "splitscreen" 1 "exec default_splitscreen.cfg";
				execOnDvarIntValue "systemlink" 1 "exec default_systemlink.cfg";
				execOnDvarIntValue "xblive_privatematch" 1 "exec default_xboxlive.cfg";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "dom" , 1 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "dom" , 2 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/gameTypesTable.csv" , 0 , "dom" , 3 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_gametype"
			focusDvar { "koth" }
			exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "koth" , 1 ) + "_CAPS" )
			action
			{
				play "mouse_click";
				setdvar "ui_gametype" "koth";
				execOnDvarIntValue "splitscreen" 1 "exec default_splitscreen.cfg";
				execOnDvarIntValue "systemlink" 1 "exec default_systemlink.cfg";
				execOnDvarIntValue "xblive_privatematch" 1 "exec default_xboxlive.cfg";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "koth" , 1 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "koth" , 2 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/gameTypesTable.csv" , 0 , "koth" , 3 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 148 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_gametype"
			focusDvar { "ctf" }
			exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "ctf" , 1 ) + "_CAPS" )
			action
			{
				play "mouse_click";
				setdvar "ui_gametype" "ctf";
				execOnDvarIntValue "splitscreen" 1 "exec default_splitscreen.cfg";
				execOnDvarIntValue "systemlink" 1 "exec default_systemlink.cfg";
				execOnDvarIntValue "xblive_privatematch" 1 "exec default_xboxlive.cfg";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "ctf" , 1 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "ctf" , 2 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/gameTypesTable.csv" , 0 , "ctf" , 3 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 168 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			dvarTest "ui_gametype"
			focusDvar { "dd" }
			exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "dd" , 1 ) + "_CAPS" )
			action
			{
				play "mouse_click";
				setdvar "ui_gametype" "dd";
				execOnDvarIntValue "splitscreen" 1 "exec default_splitscreen.cfg";
				execOnDvarIntValue "systemlink" 1 "exec default_systemlink.cfg";
				execOnDvarIntValue "xblive_privatematch" 1 "exec default_xboxlive.cfg";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_info_name" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "dd" , 1 ) );
				setLocalVarString "ui_info_desc" ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , "dd" , 2 ) );
				setLocalVarString "ui_info_icon" ( tablelookup( "mp/gameTypesTable.csv" , 0 , "dd" , 3 ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -272 28 272 356 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -272 28 264 200 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 8
			textscale 0.375
			exp text ( localvarstring( "ui_info_name" ) )
		}
		itemDef
		{
			rect -272 28 264 200 3 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 8
			textaligny 20
			textscale 0.375
			exp text ( localvarstring( "ui_info_desc" ) )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_war_@mpui_rules_time_limit"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_war_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 131 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_war_timelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_war_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_war_timelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_war_timelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_war_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_war_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_20MINUTES"
			dvarTest "scr_war_timelimit"
			focusDvar { "20" }
			visible when ( "@MPUI_RULES_20MINUTES" != "" )
			action
			{
				setdvar "scr_war_timelimit" "20" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30MINUTES"
			dvarTest "scr_war_timelimit"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30MINUTES" != "" )
			action
			{
				setdvar "scr_war_timelimit" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_war_timelimit"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_war_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_war_@mpui_rules_score_limit"
		rect -272 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_war_scorelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_war_scorelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_war_scorelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2500POINTS"
			dvarTest "scr_war_scorelimit"
			focusDvar { "2500" }
			visible when ( "@MPUI_RULES_2500POINTS" != "" )
			action
			{
				setdvar "scr_war_scorelimit" "2500" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5000POINTS"
			dvarTest "scr_war_scorelimit"
			focusDvar { "5000" }
			visible when ( "@MPUI_RULES_5000POINTS" != "" )
			action
			{
				setdvar "scr_war_scorelimit" "5000" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7500POINTS"
			dvarTest "scr_war_scorelimit"
			focusDvar { "7500" }
			visible when ( "@MPUI_RULES_7500POINTS" != "" )
			action
			{
				setdvar "scr_war_scorelimit" "7500" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10000POINTS"
			dvarTest "scr_war_scorelimit"
			focusDvar { "10000" }
			visible when ( "@MPUI_RULES_10000POINTS" != "" )
			action
			{
				setdvar "scr_war_scorelimit" "10000" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15000POINTS"
			dvarTest "scr_war_scorelimit"
			focusDvar { "15000" }
			visible when ( "@MPUI_RULES_15000POINTS" != "" )
			action
			{
				setdvar "scr_war_scorelimit" "15000" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_war"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_war";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@MENU_TEAM_DEATHMATCH" )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_TIME_LIMIT"
			dvar "scr_war_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_war_@MPUI_RULES_TIME_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_war_timelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_5MINUTES" "5" "@MPUI_RULES_10MINUTES" "10" "@MPUI_RULES_20MINUTES" "20" "@MPUI_RULES_30MINUTES" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_2"
			rect -272 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SCORE_LIMIT"
			dvar "scr_war_scorelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_war_@MPUI_RULES_SCORE_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_war_scorelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_2500POINTS" "2500" "@MPUI_RULES_5000POINTS" "5000" "@MPUI_RULES_7500POINTS" "7500" "@MPUI_RULES_10000POINTS" "10000" "@MPUI_RULES_15000POINTS" "15000" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_war_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_TEAM_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_war_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_war_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_war_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			name "sidenav_button_16"
			rect -272 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FRIENDLY_FIRE"
			dvar "scr_team_fftype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_war_@MPUI_RULES_FRIENDLY_FIRE";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_team_fftype"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" "@MPUI_RULES_REFLECT" "2" "@MPUI_RULES_SHARED" "3" "" "0" "" "0" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_war_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_war_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_war_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_war_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_war_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_war_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_war_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_war_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_war_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_TEAM_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_TEAM_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_war_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_war_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_war_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_war_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_war_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_war_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_war_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_war_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_war_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_war_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_war_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_war_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_war_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_war_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_war_@mpui_rules_friendly_fire"
		rect -272 316 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_team_fftype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 316 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -684 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 316 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 300 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 386 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 316 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 331 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_ENABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 1 }
			visible when ( "@MENU_ENABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 346 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_REFLECT"
			dvarTest "scr_team_fftype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_REFLECT" != "" )
			action
			{
				setdvar "scr_team_fftype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 361 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SHARED"
			dvarTest "scr_team_fftype"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_SHARED" != "" )
			action
			{
				setdvar "scr_team_fftype" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 376 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 391 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_war_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_war_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_war_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_war_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_war_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_war_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_war_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_war_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_war_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_war_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_war_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_war_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_war_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_war_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_war_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_war_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_war_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_war_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_war_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_war_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_war_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_war_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_war_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_war_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_war_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_war_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_war_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_war_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_war_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_war_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_war_@mpui_rules_diehard"
		rect 0 334 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_diehard";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 334 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -666 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 334 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 318 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 389 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 334 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 349 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_NO_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 1 }
			visible when ( "@MPUI_ENABLED_NO_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 364 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 2 }
			visible when ( "@MPUI_ENABLED_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 379 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 394 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 409 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_round_length"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sd_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_sd_timelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_sd_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5MINUTES"
			dvarTest "scr_sd_timelimit"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5MINUTES" != "" )
			action
			{
				setdvar "scr_sd_timelimit" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_3MINUTES"
			dvarTest "scr_sd_timelimit"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_3MINUTES" != "" )
			action
			{
				setdvar "scr_sd_timelimit" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_sd_timelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_sd_timelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_8MINUTES"
			dvarTest "scr_sd_timelimit"
			focusDvar { 8 }
			visible when ( "@MPUI_RULES_8MINUTES" != "" )
			action
			{
				setdvar "scr_sd_timelimit" 8 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_sd_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_sd_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_bomb_timer"
		rect -272 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sd_bombtimer";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 64 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 64 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 149 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 149 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 149 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 64 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_sd_bombtimer"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_sd_bombtimer" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_sd_bombtimer"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_sd_bombtimer" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_sd_bombtimer"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_sd_bombtimer" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_45SECONDS"
			dvarTest "scr_sd_bombtimer"
			focusDvar { "45" }
			visible when ( "@MPUI_RULES_45SECONDS" != "" )
			action
			{
				setdvar "scr_sd_bombtimer" "45" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1MINUTE"
			dvarTest "scr_sd_bombtimer"
			focusDvar { "60" }
			visible when ( "@MPUI_RULES_1MINUTE" != "" )
			action
			{
				setdvar "scr_sd_bombtimer" "60" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_sd_bombtimer"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_sd_bombtimer" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_plant_time"
		rect -272 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sd_planttime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 82 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 82 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 167 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 167 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 167 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 82 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1SECOND"
			dvarTest "scr_sd_planttime"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_1SECOND" != "" )
			action
			{
				setdvar "scr_sd_planttime" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5SECONDS"
			dvarTest "scr_sd_planttime"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5SECONDS" != "" )
			action
			{
				setdvar "scr_sd_planttime" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_sd_planttime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_sd_planttime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_sd_planttime"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_sd_planttime" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_sd_planttime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_sd_planttime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_sd_planttime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_sd_planttime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_defuse_time"
		rect -272 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sd_defusetime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 100 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 100 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 185 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 185 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 185 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 100 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1SECOND"
			dvarTest "scr_sd_defusetime"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_1SECOND" != "" )
			action
			{
				setdvar "scr_sd_defusetime" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5SECONDS"
			dvarTest "scr_sd_defusetime"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5SECONDS" != "" )
			action
			{
				setdvar "scr_sd_defusetime" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_sd_defusetime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_sd_defusetime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_sd_defusetime"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_sd_defusetime" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_sd_defusetime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_sd_defusetime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_sd_defusetime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_sd_defusetime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_score_limit"
		rect -272 136 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sd_winlimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 136 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -864 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 136 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 120 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 120 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 120 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 136 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 236 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 236 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 236 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 136 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 136 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_sd_winlimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_sd_winlimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 151 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1POINT"
			dvarTest "scr_sd_winlimit"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_1POINT" != "" )
			action
			{
				setdvar "scr_sd_winlimit" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 166 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_4POINTS"
			dvarTest "scr_sd_winlimit"
			focusDvar { 4 }
			visible when ( "@MPUI_RULES_4POINTS" != "" )
			action
			{
				setdvar "scr_sd_winlimit" 4 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 181 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_8POINTS"
			dvarTest "scr_sd_winlimit"
			focusDvar { 8 }
			visible when ( "@MPUI_RULES_8POINTS" != "" )
			action
			{
				setdvar "scr_sd_winlimit" 8 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 196 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_12POINTS"
			dvarTest "scr_sd_winlimit"
			focusDvar { "12" }
			visible when ( "@MPUI_RULES_12POINTS" != "" )
			action
			{
				setdvar "scr_sd_winlimit" "12" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 211 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_24POINTS"
			dvarTest "scr_sd_winlimit"
			focusDvar { "24" }
			visible when ( "@MPUI_RULES_24POINTS" != "" )
			action
			{
				setdvar "scr_sd_winlimit" "24" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_round_switch"
		rect -272 154 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sd_roundswitch";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 154 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -846 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 154 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 138 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 138 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 138 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 154 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 239 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 239 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 239 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 154 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 154 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NEVER"
			dvarTest "scr_sd_roundswitch"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NEVER" != "" )
			action
			{
				setdvar "scr_sd_roundswitch" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 169 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_ROUND"
			dvarTest "scr_sd_roundswitch"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_EVERY_ROUND" != "" )
			action
			{
				setdvar "scr_sd_roundswitch" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 184 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_2ROUNDS"
			dvarTest "scr_sd_roundswitch"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_EVERY_2ROUNDS" != "" )
			action
			{
				setdvar "scr_sd_roundswitch" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 199 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_3ROUNDS"
			dvarTest "scr_sd_roundswitch"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_EVERY_3ROUNDS" != "" )
			action
			{
				setdvar "scr_sd_roundswitch" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 214 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_4ROUNDS"
			dvarTest "scr_sd_roundswitch"
			focusDvar { 4 }
			visible when ( "@MPUI_RULES_EVERY_4ROUNDS" != "" )
			action
			{
				setdvar "scr_sd_roundswitch" 4 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 229 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_sd_roundswitch"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_sd_roundswitch" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_sd";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@MENU_SEARCH_AND_DESTROY" )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_ROUND_LENGTH"
			dvar "scr_sd_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_ROUND_LENGTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sd_timelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_2_5MINUTES" "2.5" "@MPUI_RULES_3MINUTES" "3" "@MPUI_RULES_5MINUTES" "5" "@MPUI_RULES_8MINUTES" "8" "@MPUI_RULES_10MINUTES" "10" }
		}
		itemDef
		{
			name "sidenav_button_2"
			rect -272 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_BOMB_TIMER"
			dvar "scr_sd_bombtimer"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_BOMB_TIMER";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sd_bombtimer"
			dvarStrList { "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "@MPUI_RULES_45SECONDS" "45" "@MPUI_RULES_1MINUTE" "60" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_3"
			rect -272 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PLANT_TIME"
			dvar "scr_sd_planttime"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_22";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_22";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_PLANT_TIME";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sd_planttime"
			dvarStrList { "@MPUI_RULES_1SECOND" "1" "@MPUI_RULES_2_5SECONDS" "2.5" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_4"
			rect -272 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_DEFUSE_TIME"
			dvar "scr_sd_defusetime"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_23";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_23";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_DEFUSE_TIME";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sd_defusetime"
			dvarStrList { "@MPUI_RULES_1SECOND" "1" "@MPUI_RULES_2_5SECONDS" "2.5" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_5"
			rect -272 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MULTI_BOMB"
			dvar "scr_sd_multibomb"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_24";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_24";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_sd_multibomb 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sd_multibomb"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_6"
			rect -272 136 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SCORE_LIMIT"
			dvar "scr_sd_winlimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_25";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_25";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_SCORE_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 136 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sd_winlimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_1POINT" "1" "@MPUI_RULES_4POINTS" "4" "@MPUI_RULES_8POINTS" "8" "@MPUI_RULES_12POINTS" "12" "@MPUI_RULES_24POINTS" "24" }
		}
		itemDef
		{
			name "sidenav_button_7"
			rect -272 154 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_ROUND_SWITCH"
			dvar "scr_sd_roundswitch"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_26";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_26";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_ROUND_SWITCH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 154 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sd_roundswitch"
			dvarStrList { "@MPUI_RULES_NEVER" "0" "@MPUI_RULES_EVERY_ROUND" "1" "@MPUI_RULES_EVERY_2ROUNDS" "2" "@MPUI_RULES_EVERY_3ROUNDS" "3" "@MPUI_RULES_EVERY_4ROUNDS" "4" "" "0" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_TEAM_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_sd_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sd_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			name "sidenav_button_16"
			rect -272 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FRIENDLY_FIRE"
			dvar "scr_team_fftype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_FRIENDLY_FIRE";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_team_fftype"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" "@MPUI_RULES_REFLECT" "2" "@MPUI_RULES_SHARED" "3" "" "0" "" "0" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_sd_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sd_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_sd_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sd_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sd_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_TEAM_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_TEAM_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sd_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_sd_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_sd_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_sd_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_sd_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_sd_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_sd_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_sd_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_sd_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_sd_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_sd_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_sd_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_sd_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_friendly_fire"
		rect -272 316 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_team_fftype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 316 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -684 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 316 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 300 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 386 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 316 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 331 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_ENABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 1 }
			visible when ( "@MENU_ENABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 346 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_REFLECT"
			dvarTest "scr_team_fftype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_REFLECT" != "" )
			action
			{
				setdvar "scr_team_fftype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 361 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SHARED"
			dvarTest "scr_team_fftype"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_SHARED" != "" )
			action
			{
				setdvar "scr_team_fftype" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 376 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 391 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sd_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_sd_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_sd_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_sd_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_sd_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_sd_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_sd_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_sd_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_sd_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_sd_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_sd_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_sd_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_sd_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sd_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_sd_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_sd_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_sd_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_sd_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_sd_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_sd_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_sd_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_sd_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_sd_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_sd_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_sd_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_sd_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sd_@mpui_rules_diehard"
		rect 0 334 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_diehard";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 334 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -666 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 334 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 318 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 389 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 334 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 349 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_NO_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 1 }
			visible when ( "@MPUI_ENABLED_NO_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 364 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 2 }
			visible when ( "@MPUI_ENABLED_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 379 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 394 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 409 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_time_limit"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sab_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_sab_timelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_sab_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5MINUTES"
			dvarTest "scr_sab_timelimit"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5MINUTES" != "" )
			action
			{
				setdvar "scr_sab_timelimit" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_sab_timelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_sab_timelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_sab_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_sab_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_20MINUTES"
			dvarTest "scr_sab_timelimit"
			focusDvar { "20" }
			visible when ( "@MPUI_RULES_20MINUTES" != "" )
			action
			{
				setdvar "scr_sab_timelimit" "20" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30MINUTES"
			dvarTest "scr_sab_timelimit"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30MINUTES" != "" )
			action
			{
				setdvar "scr_sab_timelimit" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_bomb_timer"
		rect -272 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sab_bombtimer";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_sab_bombtimer"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_sab_bombtimer" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_sab_bombtimer"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_sab_bombtimer" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_45SECONDS"
			dvarTest "scr_sab_bombtimer"
			focusDvar { "45" }
			visible when ( "@MPUI_RULES_45SECONDS" != "" )
			action
			{
				setdvar "scr_sab_bombtimer" "45" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1MINUTE"
			dvarTest "scr_sab_bombtimer"
			focusDvar { "60" }
			visible when ( "@MPUI_RULES_1MINUTE" != "" )
			action
			{
				setdvar "scr_sab_bombtimer" "60" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1_5MINUTES"
			dvarTest "scr_sab_bombtimer"
			focusDvar { "90" }
			visible when ( "@MPUI_RULES_1_5MINUTES" != "" )
			action
			{
				setdvar "scr_sab_bombtimer" "90" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2MINUTES"
			dvarTest "scr_sab_bombtimer"
			focusDvar { "120" }
			visible when ( "@MPUI_RULES_2MINUTES" != "" )
			action
			{
				setdvar "scr_sab_bombtimer" "120" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_plant_time"
		rect -272 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sab_planttime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 82 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 82 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 167 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 167 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 167 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 82 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1SECOND"
			dvarTest "scr_sab_planttime"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_1SECOND" != "" )
			action
			{
				setdvar "scr_sab_planttime" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5SECONDS"
			dvarTest "scr_sab_planttime"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5SECONDS" != "" )
			action
			{
				setdvar "scr_sab_planttime" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_sab_planttime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_sab_planttime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_sab_planttime"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_sab_planttime" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_sab_planttime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_sab_planttime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_sab_planttime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_sab_planttime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_defuse_time"
		rect -272 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sab_defusetime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 100 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 100 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 185 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 185 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 185 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 100 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1SECOND"
			dvarTest "scr_sab_defusetime"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_1SECOND" != "" )
			action
			{
				setdvar "scr_sab_defusetime" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5SECONDS"
			dvarTest "scr_sab_defusetime"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5SECONDS" != "" )
			action
			{
				setdvar "scr_sab_defusetime" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_sab_defusetime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_sab_defusetime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_sab_defusetime"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_sab_defusetime" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_sab_defusetime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_sab_defusetime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_sab_defusetime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_sab_defusetime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_sab";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@MPUI_SABOTAGE" )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_TIME_LIMIT"
			dvar "scr_sab_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_TIME_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sab_timelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_2_5MINUTES" "2.5" "@MPUI_RULES_5MINUTES" "5" "@MPUI_RULES_10MINUTES" "10" "@MPUI_RULES_20MINUTES" "20" "@MPUI_RULES_30MINUTES" "30" }
		}
		itemDef
		{
			name "sidenav_button_2"
			rect -272 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_BOMB_TIMER"
			dvar "scr_sab_bombtimer"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_BOMB_TIMER";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sab_bombtimer"
			dvarStrList { "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_30SECONDS" "30" "@MPUI_RULES_45SECONDS" "45" "@MPUI_RULES_1MINUTE" "60" "@MPUI_RULES_1_5MINUTES" "90" "@MPUI_RULES_2MINUTES" "120" }
		}
		itemDef
		{
			name "sidenav_button_3"
			rect -272 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PLANT_TIME"
			dvar "scr_sab_planttime"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_22";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_22";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_PLANT_TIME";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sab_planttime"
			dvarStrList { "@MPUI_RULES_1SECOND" "1" "@MPUI_RULES_2_5SECONDS" "2.5" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_4"
			rect -272 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_DEFUSE_TIME"
			dvar "scr_sab_defusetime"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_23";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_23";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_DEFUSE_TIME";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sab_defusetime"
			dvarStrList { "@MPUI_RULES_1SECOND" "1" "@MPUI_RULES_2_5SECONDS" "2.5" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_5"
			rect -272 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SHARE_BOMB_TIMER"
			dvar "scr_sab_hotpotato"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_24";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_24";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_sab_hotpotato 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sab_hotpotato"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_TEAM_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_sab_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sab_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			name "sidenav_button_16"
			rect -272 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FRIENDLY_FIRE"
			dvar "scr_team_fftype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_FRIENDLY_FIRE";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_team_fftype"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" "@MPUI_RULES_REFLECT" "2" "@MPUI_RULES_SHARED" "3" "" "0" "" "0" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_sab_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sab_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_sab_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_sab_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_sab_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_TEAM_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_TEAM_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sab_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_sab_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_sab_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_sab_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_sab_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_sab_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_sab_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_sab_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_sab_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_sab_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_sab_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_sab_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_sab_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_friendly_fire"
		rect -272 316 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_team_fftype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 316 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -684 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 316 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 300 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 386 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 316 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 331 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_ENABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 1 }
			visible when ( "@MENU_ENABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 346 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_REFLECT"
			dvarTest "scr_team_fftype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_REFLECT" != "" )
			action
			{
				setdvar "scr_team_fftype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 361 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SHARED"
			dvarTest "scr_team_fftype"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_SHARED" != "" )
			action
			{
				setdvar "scr_team_fftype" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 376 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 391 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sab_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_sab_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_sab_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_sab_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_sab_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_sab_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_sab_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_sab_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_sab_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_sab_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_sab_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_sab_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_sab_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_sab_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_sab_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_sab_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_sab_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_sab_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_sab_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_sab_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_sab_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_sab_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_sab_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_sab_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_sab_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_sab_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_sab_@mpui_rules_diehard"
		rect 0 334 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_diehard";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 334 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -666 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 334 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 318 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 389 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 334 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 349 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_NO_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 1 }
			visible when ( "@MPUI_ENABLED_NO_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 364 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 2 }
			visible when ( "@MPUI_ENABLED_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 379 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 394 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 409 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dom_@mpui_rules_time_limit"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dom_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 131 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_dom_timelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_dom_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_dom_timelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_dom_timelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_dom_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_dom_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_20MINUTES"
			dvarTest "scr_dom_timelimit"
			focusDvar { "20" }
			visible when ( "@MPUI_RULES_20MINUTES" != "" )
			action
			{
				setdvar "scr_dom_timelimit" "20" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30MINUTES"
			dvarTest "scr_dom_timelimit"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30MINUTES" != "" )
			action
			{
				setdvar "scr_dom_timelimit" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_dom_timelimit"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_dom_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dom_@mpui_rules_score_limit"
		rect -272 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dom_scorelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_dom_scorelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_dom_scorelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_50POINTS"
			dvarTest "scr_dom_scorelimit"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_50POINTS" != "" )
			action
			{
				setdvar "scr_dom_scorelimit" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_100POINTS"
			dvarTest "scr_dom_scorelimit"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_100POINTS" != "" )
			action
			{
				setdvar "scr_dom_scorelimit" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_200POINTS"
			dvarTest "scr_dom_scorelimit"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_200POINTS" != "" )
			action
			{
				setdvar "scr_dom_scorelimit" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_500POINTS"
			dvarTest "scr_dom_scorelimit"
			focusDvar { "500" }
			visible when ( "@MPUI_RULES_500POINTS" != "" )
			action
			{
				setdvar "scr_dom_scorelimit" "500" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_750POINTS"
			dvarTest "scr_dom_scorelimit"
			focusDvar { "750" }
			visible when ( "@MPUI_RULES_750POINTS" != "" )
			action
			{
				setdvar "scr_dom_scorelimit" "750" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dom"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_dom";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@MPUI_DOMINATION" )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_TIME_LIMIT"
			dvar "scr_dom_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dom_@MPUI_RULES_TIME_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dom_timelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_5MINUTES" "5" "@MPUI_RULES_10MINUTES" "10" "@MPUI_RULES_20MINUTES" "20" "@MPUI_RULES_30MINUTES" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_2"
			rect -272 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SCORE_LIMIT"
			dvar "scr_dom_scorelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dom_@MPUI_RULES_SCORE_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dom_scorelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_50POINTS" "50" "@MPUI_RULES_100POINTS" "100" "@MPUI_RULES_200POINTS" "200" "@MPUI_RULES_500POINTS" "500" "@MPUI_RULES_750POINTS" "750" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dom_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_TEAM_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_dom_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dom_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dom_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			name "sidenav_button_16"
			rect -272 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FRIENDLY_FIRE"
			dvar "scr_team_fftype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dom_@MPUI_RULES_FRIENDLY_FIRE";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_team_fftype"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" "@MPUI_RULES_REFLECT" "2" "@MPUI_RULES_SHARED" "3" "" "0" "" "0" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_dom_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dom_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dom_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_dom_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dom_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dom_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dom_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dom_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_dom_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_TEAM_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_TEAM_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dom_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dom_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_dom_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_dom_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_dom_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_dom_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_dom_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_dom_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_dom_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_dom_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_dom_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_dom_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_dom_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_dom_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dom_@mpui_rules_friendly_fire"
		rect -272 316 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_team_fftype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 316 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -684 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 316 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 300 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 386 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 316 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 331 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_ENABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 1 }
			visible when ( "@MENU_ENABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 346 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_REFLECT"
			dvarTest "scr_team_fftype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_REFLECT" != "" )
			action
			{
				setdvar "scr_team_fftype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 361 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SHARED"
			dvarTest "scr_team_fftype"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_SHARED" != "" )
			action
			{
				setdvar "scr_team_fftype" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 376 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 391 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dom_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dom_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_dom_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_dom_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_dom_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_dom_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_dom_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_dom_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_dom_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_dom_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_dom_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_dom_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_dom_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_dom_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dom_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dom_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_dom_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_dom_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_dom_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_dom_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_dom_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_dom_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_dom_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_dom_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_dom_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_dom_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_dom_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_dom_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dom_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dom_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dom_@mpui_rules_diehard"
		rect 0 334 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_diehard";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 334 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -666 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 334 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 318 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 389 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 334 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 349 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_NO_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 1 }
			visible when ( "@MPUI_ENABLED_NO_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 364 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 2 }
			visible when ( "@MPUI_ENABLED_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 379 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 394 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 409 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_ctf_@mpui_rules_time_limit"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_ctf_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 131 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_ctf_timelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_ctf_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_ctf_timelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_ctf_timelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_ctf_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_ctf_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_20MINUTES"
			dvarTest "scr_ctf_timelimit"
			focusDvar { "20" }
			visible when ( "@MPUI_RULES_20MINUTES" != "" )
			action
			{
				setdvar "scr_ctf_timelimit" "20" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30MINUTES"
			dvarTest "scr_ctf_timelimit"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30MINUTES" != "" )
			action
			{
				setdvar "scr_ctf_timelimit" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_ctf_timelimit"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_ctf_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_ctf_@mpui_rules_score_limit"
		rect -272 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_ctf_scorelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_ctf_scorelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_ctf_scorelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_3POINTS"
			dvarTest "scr_ctf_scorelimit"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_3POINTS" != "" )
			action
			{
				setdvar "scr_ctf_scorelimit" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5POINTS"
			dvarTest "scr_ctf_scorelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5POINTS" != "" )
			action
			{
				setdvar "scr_ctf_scorelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10POINTS"
			dvarTest "scr_ctf_scorelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10POINTS" != "" )
			action
			{
				setdvar "scr_ctf_scorelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_20POINTS"
			dvarTest "scr_ctf_scorelimit"
			focusDvar { "20" }
			visible when ( "@MPUI_RULES_20POINTS" != "" )
			action
			{
				setdvar "scr_ctf_scorelimit" "20" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30POINTS"
			dvarTest "scr_ctf_scorelimit"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30POINTS" != "" )
			action
			{
				setdvar "scr_ctf_scorelimit" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_ctf"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_ctf";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@MENU_CAPTURE_THE_FLAG" )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_TIME_LIMIT"
			dvar "scr_ctf_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_ctf_@MPUI_RULES_TIME_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_ctf_timelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_5MINUTES" "5" "@MPUI_RULES_10MINUTES" "10" "@MPUI_RULES_20MINUTES" "20" "@MPUI_RULES_30MINUTES" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_2"
			rect -272 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SCORE_LIMIT"
			dvar "scr_ctf_scorelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_ctf_@MPUI_RULES_SCORE_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_ctf_scorelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_3POINTS" "3" "@MPUI_RULES_5POINTS" "5" "@MPUI_RULES_10POINTS" "10" "@MPUI_RULES_20POINTS" "20" "@MPUI_RULES_30POINTS" "30" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_ctf_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_TEAM_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_ctf_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_ctf_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_ctf_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			name "sidenav_button_16"
			rect -272 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FRIENDLY_FIRE"
			dvar "scr_team_fftype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_ctf_@MPUI_RULES_FRIENDLY_FIRE";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_team_fftype"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" "@MPUI_RULES_REFLECT" "2" "@MPUI_RULES_SHARED" "3" "" "0" "" "0" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_ctf_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_ctf_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_ctf_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_ctf_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_ctf_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_ctf_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_ctf_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_ctf_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_ctf_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_TEAM_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_TEAM_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_ctf_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_ctf_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_ctf_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_ctf_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_ctf_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_ctf_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_ctf_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_ctf_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_ctf_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_ctf_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_ctf_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_ctf_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_ctf_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_ctf_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_ctf_@mpui_rules_friendly_fire"
		rect -272 316 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_team_fftype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 316 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -684 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 316 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 300 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 386 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 316 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 331 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_ENABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 1 }
			visible when ( "@MENU_ENABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 346 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_REFLECT"
			dvarTest "scr_team_fftype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_REFLECT" != "" )
			action
			{
				setdvar "scr_team_fftype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 361 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SHARED"
			dvarTest "scr_team_fftype"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_SHARED" != "" )
			action
			{
				setdvar "scr_team_fftype" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 376 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 391 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_ctf_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_ctf_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_ctf_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_ctf_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_ctf_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_ctf_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_ctf_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_ctf_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_ctf_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_ctf_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_ctf_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_ctf_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_ctf_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_ctf_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_ctf_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_ctf_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_ctf_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_ctf_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_ctf_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_ctf_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_ctf_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_ctf_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_ctf_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_ctf_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_ctf_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_ctf_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_ctf_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_ctf_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_ctf_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_ctf_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_ctf_@mpui_rules_diehard"
		rect 0 334 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_diehard";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 334 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -666 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 334 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 318 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 389 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 334 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 349 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_NO_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 1 }
			visible when ( "@MPUI_ENABLED_NO_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 364 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 2 }
			visible when ( "@MPUI_ENABLED_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 379 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 394 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 409 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dm_@mpui_rules_time_limit"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dm_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 131 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_dm_timelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_dm_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_dm_timelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_dm_timelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_dm_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_dm_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_20MINUTES"
			dvarTest "scr_dm_timelimit"
			focusDvar { "20" }
			visible when ( "@MPUI_RULES_20MINUTES" != "" )
			action
			{
				setdvar "scr_dm_timelimit" "20" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30MINUTES"
			dvarTest "scr_dm_timelimit"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30MINUTES" != "" )
			action
			{
				setdvar "scr_dm_timelimit" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_dm_timelimit"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_dm_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dm_@mpui_rules_score_limit"
		rect -272 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dm_scorelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_dm_scorelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_dm_scorelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1000POINTS"
			dvarTest "scr_dm_scorelimit"
			focusDvar { "1000" }
			visible when ( "@MPUI_RULES_1000POINTS" != "" )
			action
			{
				setdvar "scr_dm_scorelimit" "1000" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1500POINTS"
			dvarTest "scr_dm_scorelimit"
			focusDvar { "1500" }
			visible when ( "@MPUI_RULES_1500POINTS" != "" )
			action
			{
				setdvar "scr_dm_scorelimit" "1500" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_3000POINTS"
			dvarTest "scr_dm_scorelimit"
			focusDvar { "3000" }
			visible when ( "@MPUI_RULES_3000POINTS" != "" )
			action
			{
				setdvar "scr_dm_scorelimit" "3000" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5000POINTS"
			dvarTest "scr_dm_scorelimit"
			focusDvar { "5000" }
			visible when ( "@MPUI_RULES_5000POINTS" != "" )
			action
			{
				setdvar "scr_dm_scorelimit" "5000" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7000POINTS"
			dvarTest "scr_dm_scorelimit"
			focusDvar { "7000" }
			visible when ( "@MPUI_RULES_7000POINTS" != "" )
			action
			{
				setdvar "scr_dm_scorelimit" "7000" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dm"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_dm";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@MENU_FREE_FOR_ALL" )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_TIME_LIMIT"
			dvar "scr_dm_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dm_@MPUI_RULES_TIME_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dm_timelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_5MINUTES" "5" "@MPUI_RULES_10MINUTES" "10" "@MPUI_RULES_20MINUTES" "20" "@MPUI_RULES_30MINUTES" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_2"
			rect -272 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SCORE_LIMIT"
			dvar "scr_dm_scorelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dm_@MPUI_RULES_SCORE_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dm_scorelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_1000POINTS" "1000" "@MPUI_RULES_1500POINTS" "1500" "@MPUI_RULES_3000POINTS" "3000" "@MPUI_RULES_5000POINTS" "5000" "@MPUI_RULES_7000POINTS" "7000" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dm_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_PLAYERS_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_dm_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dm_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dm_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_dm_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dm_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dm_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_dm_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dm_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dm_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dm_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dm_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_dm_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_PLAYERS_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_PLAYERS_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dm_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dm_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_dm_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_dm_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_dm_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_dm_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_dm_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_dm_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_dm_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_dm_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_dm_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_dm_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_dm_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_dm_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dm_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dm_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_dm_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_dm_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_dm_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_dm_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_dm_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_dm_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_dm_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_dm_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_dm_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_dm_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_dm_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_dm_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dm_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dm_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_dm_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_dm_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_dm_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_dm_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_dm_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_dm_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_dm_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_dm_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_dm_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_dm_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_dm_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_dm_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dm_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dm_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_time_limit"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_koth_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 131 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_koth_timelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_koth_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_koth_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_koth_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15MINUTES"
			dvarTest "scr_koth_timelimit"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15MINUTES" != "" )
			action
			{
				setdvar "scr_koth_timelimit" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_20MINUTES"
			dvarTest "scr_koth_timelimit"
			focusDvar { "20" }
			visible when ( "@MPUI_RULES_20MINUTES" != "" )
			action
			{
				setdvar "scr_koth_timelimit" "20" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30MINUTES"
			dvarTest "scr_koth_timelimit"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30MINUTES" != "" )
			action
			{
				setdvar "scr_koth_timelimit" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_koth_timelimit"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_koth_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_score_limit"
		rect -272 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_koth_scorelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_koth_scorelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_koth_scorelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_100POINTS"
			dvarTest "scr_koth_scorelimit"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_100POINTS" != "" )
			action
			{
				setdvar "scr_koth_scorelimit" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_250POINTS"
			dvarTest "scr_koth_scorelimit"
			focusDvar { "250" }
			visible when ( "@MPUI_RULES_250POINTS" != "" )
			action
			{
				setdvar "scr_koth_scorelimit" "250" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_500POINTS"
			dvarTest "scr_koth_scorelimit"
			focusDvar { "500" }
			visible when ( "@MPUI_RULES_500POINTS" != "" )
			action
			{
				setdvar "scr_koth_scorelimit" "500" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1000POINTS"
			dvarTest "scr_koth_scorelimit"
			focusDvar { "1000" }
			visible when ( "@MPUI_RULES_1000POINTS" != "" )
			action
			{
				setdvar "scr_koth_scorelimit" "1000" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1500POINTS"
			dvarTest "scr_koth_scorelimit"
			focusDvar { "1500" }
			visible when ( "@MPUI_RULES_1500POINTS" != "" )
			action
			{
				setdvar "scr_koth_scorelimit" "1500" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_hq_hold_time"
		rect -272 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "koth_autodestroytime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 82 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 82 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 182 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 182 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 182 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 82 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "koth_autodestroytime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "koth_autodestroytime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "koth_autodestroytime"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "koth_autodestroytime" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_45SECONDS"
			dvarTest "koth_autodestroytime"
			focusDvar { "45" }
			visible when ( "@MPUI_RULES_45SECONDS" != "" )
			action
			{
				setdvar "koth_autodestroytime" "45" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1MINUTE"
			dvarTest "koth_autodestroytime"
			focusDvar { "60" }
			visible when ( "@MPUI_RULES_1MINUTE" != "" )
			action
			{
				setdvar "koth_autodestroytime" "60" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1_5MINUTES"
			dvarTest "koth_autodestroytime"
			focusDvar { "90" }
			visible when ( "@MPUI_RULES_1_5MINUTES" != "" )
			action
			{
				setdvar "koth_autodestroytime" "90" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2MINUTES"
			dvarTest "koth_autodestroytime"
			focusDvar { "120" }
			visible when ( "@MPUI_RULES_2MINUTES" != "" )
			action
			{
				setdvar "koth_autodestroytime" "120" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_hq_respawn_delay"
		rect -272 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "koth_spawntime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_INSTANT"
			dvarTest "koth_spawntime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_INSTANT" != "" )
			action
			{
				setdvar "koth_spawntime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "koth_spawntime"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "koth_spawntime" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "koth_spawntime"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "koth_spawntime" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1MINUTE"
			dvarTest "koth_spawntime"
			focusDvar { "60" }
			visible when ( "@MPUI_RULES_1MINUTE" != "" )
			action
			{
				setdvar "koth_spawntime" "60" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "koth_spawntime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "koth_spawntime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "koth_spawntime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "koth_spawntime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_koth";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@" + tablelookup( "mp/gametypesTable.csv" , 0 , "koth" , 1 ) )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_TIME_LIMIT"
			dvar "scr_koth_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_TIME_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_koth_timelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_10MINUTES" "10" "@MPUI_RULES_15MINUTES" "15" "@MPUI_RULES_20MINUTES" "20" "@MPUI_RULES_30MINUTES" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_2"
			rect -272 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SCORE_LIMIT"
			dvar "scr_koth_scorelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_SCORE_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_koth_scorelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_100POINTS" "100" "@MPUI_RULES_250POINTS" "250" "@MPUI_RULES_500POINTS" "500" "@MPUI_RULES_1000POINTS" "1000" "@MPUI_RULES_1500POINTS" "1500" }
		}
		itemDef
		{
			name "sidenav_button_3"
			rect -272 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HQ_HOLD_TIME"
			dvar "koth_autodestroytime"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_22";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_22";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_HQ_HOLD_TIME";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "koth_autodestroytime"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_30SECONDS" "30" "@MPUI_RULES_45SECONDS" "45" "@MPUI_RULES_1MINUTE" "60" "@MPUI_RULES_1_5MINUTES" "90" "@MPUI_RULES_2MINUTES" "120" }
		}
		itemDef
		{
			name "sidenav_button_4"
			rect -272 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HQ_RESPAWN_DELAY"
			dvar "koth_spawntime"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_23";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_23";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_HQ_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "koth_spawntime"
			dvarStrList { "@MPUI_RULES_INSTANT" "0" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "@MPUI_RULES_1MINUTE" "60" "" "0" "" "0" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_TEAM_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_koth_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_koth_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			name "sidenav_button_16"
			rect -272 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FRIENDLY_FIRE"
			dvar "scr_team_fftype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_FRIENDLY_FIRE";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_team_fftype"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" "@MPUI_RULES_REFLECT" "2" "@MPUI_RULES_SHARED" "3" "" "0" "" "0" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_koth_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_koth_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_koth_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_koth_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_koth_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_TEAM_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_TEAM_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_koth_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_koth_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_koth_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_koth_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_koth_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_koth_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_koth_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_koth_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_koth_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_koth_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_koth_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_koth_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_koth_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_friendly_fire"
		rect -272 316 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_team_fftype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 316 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -684 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 316 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 300 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 386 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 316 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 331 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_ENABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 1 }
			visible when ( "@MENU_ENABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 346 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_REFLECT"
			dvarTest "scr_team_fftype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_REFLECT" != "" )
			action
			{
				setdvar "scr_team_fftype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 361 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SHARED"
			dvarTest "scr_team_fftype"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_SHARED" != "" )
			action
			{
				setdvar "scr_team_fftype" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 376 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 391 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_koth_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_koth_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_koth_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_koth_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_koth_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_koth_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_koth_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_koth_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_koth_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_koth_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_koth_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_koth_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_koth_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_koth_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_koth_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_koth_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_koth_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_koth_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_koth_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_koth_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_koth_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_koth_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_koth_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_koth_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_koth_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_koth_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_koth_@mpui_rules_diehard"
		rect 0 334 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_diehard";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 334 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -666 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 334 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 318 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 389 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 334 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 349 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_NO_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 1 }
			visible when ( "@MPUI_ENABLED_NO_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 364 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 2 }
			visible when ( "@MPUI_ENABLED_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 379 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 394 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 409 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_oneflag_@mpui_rules_time_limit"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_oneflag_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_oneflag_timelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_oneflag_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5MINUTES"
			dvarTest "scr_oneflag_timelimit"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5MINUTES" != "" )
			action
			{
				setdvar "scr_oneflag_timelimit" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_3MINUTES"
			dvarTest "scr_oneflag_timelimit"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_3MINUTES" != "" )
			action
			{
				setdvar "scr_oneflag_timelimit" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_oneflag_timelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_oneflag_timelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_8MINUTES"
			dvarTest "scr_oneflag_timelimit"
			focusDvar { 8 }
			visible when ( "@MPUI_RULES_8MINUTES" != "" )
			action
			{
				setdvar "scr_oneflag_timelimit" 8 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_oneflag_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_oneflag_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_oneflag_@mpui_rules_score_limit"
		rect -272 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_oneflag_scorelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_oneflag_scorelimit"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_oneflag_scorelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1POINT"
			dvarTest "scr_oneflag_scorelimit"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_1POINT" != "" )
			action
			{
				setdvar "scr_oneflag_scorelimit" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_4POINTS"
			dvarTest "scr_oneflag_scorelimit"
			focusDvar { 4 }
			visible when ( "@MPUI_RULES_4POINTS" != "" )
			action
			{
				setdvar "scr_oneflag_scorelimit" 4 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_8POINTS"
			dvarTest "scr_oneflag_scorelimit"
			focusDvar { 8 }
			visible when ( "@MPUI_RULES_8POINTS" != "" )
			action
			{
				setdvar "scr_oneflag_scorelimit" 8 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_12POINTS"
			dvarTest "scr_oneflag_scorelimit"
			focusDvar { "12" }
			visible when ( "@MPUI_RULES_12POINTS" != "" )
			action
			{
				setdvar "scr_oneflag_scorelimit" "12" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_24POINTS"
			dvarTest "scr_oneflag_scorelimit"
			focusDvar { "24" }
			visible when ( "@MPUI_RULES_24POINTS" != "" )
			action
			{
				setdvar "scr_oneflag_scorelimit" "24" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_oneflag"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_oneflag";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@MENU_ONE_FLAG" )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_TIME_LIMIT"
			dvar "scr_oneflag_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_oneflag_@MPUI_RULES_TIME_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_oneflag_timelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_2_5MINUTES" "2.5" "@MPUI_RULES_3MINUTES" "3" "@MPUI_RULES_5MINUTES" "5" "@MPUI_RULES_8MINUTES" "8" "@MPUI_RULES_10MINUTES" "10" }
		}
		itemDef
		{
			name "sidenav_button_2"
			rect -272 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SCORE_LIMIT"
			dvar "scr_oneflag_scorelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_oneflag_@MPUI_RULES_SCORE_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_oneflag_scorelimit"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_1POINT" "1" "@MPUI_RULES_4POINTS" "4" "@MPUI_RULES_8POINTS" "8" "@MPUI_RULES_12POINTS" "12" "@MPUI_RULES_24POINTS" "24" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_oneflag_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_TEAM_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_oneflag_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_oneflag_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_oneflag_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			name "sidenav_button_16"
			rect -272 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FRIENDLY_FIRE"
			dvar "scr_team_fftype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_oneflag_@MPUI_RULES_FRIENDLY_FIRE";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_team_fftype"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" "@MPUI_RULES_REFLECT" "2" "@MPUI_RULES_SHARED" "3" "" "0" "" "0" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_oneflag_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_oneflag_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_oneflag_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_oneflag_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_oneflag_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_oneflag_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_oneflag_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_oneflag_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_oneflag_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_TEAM_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_TEAM_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_oneflag_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_oneflag_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_oneflag_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_oneflag_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_oneflag_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_oneflag_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_oneflag_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_oneflag_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_oneflag_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_oneflag_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_oneflag_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_oneflag_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_oneflag_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_oneflag_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_oneflag_@mpui_rules_friendly_fire"
		rect -272 316 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_team_fftype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 316 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -684 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 316 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 300 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 386 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 316 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 331 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_ENABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 1 }
			visible when ( "@MENU_ENABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 346 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_REFLECT"
			dvarTest "scr_team_fftype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_REFLECT" != "" )
			action
			{
				setdvar "scr_team_fftype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 361 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SHARED"
			dvarTest "scr_team_fftype"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_SHARED" != "" )
			action
			{
				setdvar "scr_team_fftype" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 376 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 391 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_oneflag_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_oneflag_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_oneflag_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_oneflag_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_oneflag_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_oneflag_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_oneflag_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_oneflag_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_oneflag_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_oneflag_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_oneflag_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_oneflag_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_oneflag_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_oneflag_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_oneflag_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_oneflag_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_oneflag_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_oneflag_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_oneflag_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_oneflag_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_oneflag_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_oneflag_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_oneflag_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_oneflag_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_oneflag_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_oneflag_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_oneflag_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_oneflag_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_oneflag_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_oneflag_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_oneflag_@mpui_rules_diehard"
		rect 0 334 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_diehard";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 334 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -666 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 334 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 318 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 389 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 334 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 349 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_NO_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 1 }
			visible when ( "@MPUI_ENABLED_NO_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 364 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 2 }
			visible when ( "@MPUI_ENABLED_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 379 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 394 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 409 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_time_limit"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dd_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 131 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5MINUTES"
			dvarTest "scr_dd_timelimit"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5MINUTES" != "" )
			action
			{
				setdvar "scr_dd_timelimit" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_3MINUTES"
			dvarTest "scr_dd_timelimit"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_3MINUTES" != "" )
			action
			{
				setdvar "scr_dd_timelimit" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_dd_timelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_dd_timelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_8MINUTES"
			dvarTest "scr_dd_timelimit"
			focusDvar { 8 }
			visible when ( "@MPUI_RULES_8MINUTES" != "" )
			action
			{
				setdvar "scr_dd_timelimit" 8 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_dd_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_dd_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_dd_timelimit"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_dd_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_round_switch"
		rect -272 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dd_roundswitch";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 64 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 64 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 149 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 149 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 149 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 64 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NEVER"
			dvarTest "scr_dd_roundswitch"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NEVER" != "" )
			action
			{
				setdvar "scr_dd_roundswitch" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_ROUND"
			dvarTest "scr_dd_roundswitch"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_EVERY_ROUND" != "" )
			action
			{
				setdvar "scr_dd_roundswitch" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_2ROUNDS"
			dvarTest "scr_dd_roundswitch"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_EVERY_2ROUNDS" != "" )
			action
			{
				setdvar "scr_dd_roundswitch" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_3ROUNDS"
			dvarTest "scr_dd_roundswitch"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_EVERY_3ROUNDS" != "" )
			action
			{
				setdvar "scr_dd_roundswitch" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_4ROUNDS"
			dvarTest "scr_dd_roundswitch"
			focusDvar { 4 }
			visible when ( "@MPUI_RULES_EVERY_4ROUNDS" != "" )
			action
			{
				setdvar "scr_dd_roundswitch" 4 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_dd_roundswitch"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_dd_roundswitch" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_bomb_timer"
		rect -272 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dd_bombtimer";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 82 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 82 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 182 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 182 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 182 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 82 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_dd_bombtimer"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_dd_bombtimer" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_dd_bombtimer"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_dd_bombtimer" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_45SECONDS"
			dvarTest "scr_dd_bombtimer"
			focusDvar { "45" }
			visible when ( "@MPUI_RULES_45SECONDS" != "" )
			action
			{
				setdvar "scr_dd_bombtimer" "45" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1MINUTE"
			dvarTest "scr_dd_bombtimer"
			focusDvar { "60" }
			visible when ( "@MPUI_RULES_1MINUTE" != "" )
			action
			{
				setdvar "scr_dd_bombtimer" "60" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1_5MINUTES"
			dvarTest "scr_dd_bombtimer"
			focusDvar { "90" }
			visible when ( "@MPUI_RULES_1_5MINUTES" != "" )
			action
			{
				setdvar "scr_dd_bombtimer" "90" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2MINUTES"
			dvarTest "scr_dd_bombtimer"
			focusDvar { "120" }
			visible when ( "@MPUI_RULES_2MINUTES" != "" )
			action
			{
				setdvar "scr_dd_bombtimer" "120" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_plant_time"
		rect -272 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dd_planttime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 100 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 100 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 185 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 185 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 185 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 100 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1SECOND"
			dvarTest "scr_dd_planttime"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_1SECOND" != "" )
			action
			{
				setdvar "scr_dd_planttime" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5SECONDS"
			dvarTest "scr_dd_planttime"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5SECONDS" != "" )
			action
			{
				setdvar "scr_dd_planttime" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_dd_planttime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_dd_planttime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_dd_planttime"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_dd_planttime" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_dd_planttime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_dd_planttime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_dd_planttime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_dd_planttime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_defuse_time"
		rect -272 118 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dd_defusetime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 118 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -882 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 118 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 102 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 102 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 102 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 118 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 203 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 203 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 203 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 118 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 118 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1SECOND"
			dvarTest "scr_dd_defusetime"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_1SECOND" != "" )
			action
			{
				setdvar "scr_dd_defusetime" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 133 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5SECONDS"
			dvarTest "scr_dd_defusetime"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5SECONDS" != "" )
			action
			{
				setdvar "scr_dd_defusetime" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 148 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_dd_defusetime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_dd_defusetime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 163 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_dd_defusetime"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_dd_defusetime" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 178 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_dd_defusetime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_dd_defusetime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 193 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_dd_defusetime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_dd_defusetime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_add_time"
		rect -272 136 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dd_addtime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 136 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -864 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 136 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 120 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 120 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 120 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 136 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 236 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 236 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 236 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 136 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 136 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_dd_addtime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_dd_addtime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 151 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_1_5MINUTES"
			dvarTest "scr_dd_addtime"
			focusDvar { "1.5" }
			visible when ( "@MPUI_RULES_1_5MINUTES" != "" )
			action
			{
				setdvar "scr_dd_addtime" "1.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 166 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2MINUTES"
			dvarTest "scr_dd_addtime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_2MINUTES" != "" )
			action
			{
				setdvar "scr_dd_addtime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 181 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5MINUTES"
			dvarTest "scr_dd_addtime"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5MINUTES" != "" )
			action
			{
				setdvar "scr_dd_addtime" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 196 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_3MINUTES"
			dvarTest "scr_dd_addtime"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_3MINUTES" != "" )
			action
			{
				setdvar "scr_dd_addtime" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 211 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_dd_addtime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_dd_addtime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_dd";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@MENU_DD_DESC" )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_TIME_LIMIT"
			dvar "scr_dd_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_TIME_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dd_timelimit"
			dvarStrList { "@MPUI_RULES_2_5MINUTES" "2.5" "@MPUI_RULES_3MINUTES" "3" "@MPUI_RULES_5MINUTES" "5" "@MPUI_RULES_8MINUTES" "8" "@MPUI_RULES_10MINUTES" "10" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_2"
			rect -272 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_ROUND_SWITCH"
			dvar "scr_dd_roundswitch"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_ROUND_SWITCH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dd_roundswitch"
			dvarStrList { "@MPUI_RULES_NEVER" "0" "@MPUI_RULES_EVERY_ROUND" "1" "@MPUI_RULES_EVERY_2ROUNDS" "2" "@MPUI_RULES_EVERY_3ROUNDS" "3" "@MPUI_RULES_EVERY_4ROUNDS" "4" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_3"
			rect -272 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_BOMB_TIMER"
			dvar "scr_dd_bombtimer"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_22";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_22";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_BOMB_TIMER";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dd_bombtimer"
			dvarStrList { "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_30SECONDS" "30" "@MPUI_RULES_45SECONDS" "45" "@MPUI_RULES_1MINUTE" "60" "@MPUI_RULES_1_5MINUTES" "90" "@MPUI_RULES_2MINUTES" "120" }
		}
		itemDef
		{
			name "sidenav_button_4"
			rect -272 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PLANT_TIME"
			dvar "scr_dd_planttime"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_23";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_23";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_PLANT_TIME";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dd_planttime"
			dvarStrList { "@MPUI_RULES_1SECOND" "1" "@MPUI_RULES_2_5SECONDS" "2.5" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_5"
			rect -272 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_DEFUSE_TIME"
			dvar "scr_dd_defusetime"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_24";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_24";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_DEFUSE_TIME";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dd_defusetime"
			dvarStrList { "@MPUI_RULES_1SECOND" "1" "@MPUI_RULES_2_5SECONDS" "2.5" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_6"
			rect -272 136 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_ADD_TIME"
			dvar "scr_dd_addtime"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_25";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_25";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_ADD_TIME";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 136 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dd_addtime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_1_5MINUTES" "1.5" "@MPUI_RULES_2MINUTES" "2" "@MPUI_RULES_2_5MINUTES" "2.5" "@MPUI_RULES_3MINUTES" "3" "@MPUI_RULES_5MINUTES" "5" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_TEAM_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_dd_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dd_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			name "sidenav_button_16"
			rect -272 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FRIENDLY_FIRE"
			dvar "scr_team_fftype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_FRIENDLY_FIRE";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_team_fftype"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" "@MPUI_RULES_REFLECT" "2" "@MPUI_RULES_SHARED" "3" "" "0" "" "0" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_dd_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dd_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_dd_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_dd_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_dd_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_TEAM_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_TEAM_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dd_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_dd_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_dd_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_dd_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_dd_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_dd_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_dd_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_dd_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_dd_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_dd_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_dd_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_dd_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_dd_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_friendly_fire"
		rect -272 316 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_team_fftype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 316 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -684 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 316 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 300 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 386 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 316 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 331 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_ENABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 1 }
			visible when ( "@MENU_ENABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 346 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_REFLECT"
			dvarTest "scr_team_fftype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_REFLECT" != "" )
			action
			{
				setdvar "scr_team_fftype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 361 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SHARED"
			dvarTest "scr_team_fftype"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_SHARED" != "" )
			action
			{
				setdvar "scr_team_fftype" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 376 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 391 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dd_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_dd_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_dd_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_dd_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_dd_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_dd_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_dd_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_dd_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_dd_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_dd_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_dd_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_dd_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_dd_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_dd_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_dd_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_dd_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_dd_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_dd_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_dd_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_dd_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_dd_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_dd_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_dd_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_dd_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_dd_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_dd_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_dd_@mpui_rules_diehard"
		rect 0 334 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_diehard";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 334 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -666 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 334 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 318 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 389 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 334 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 349 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_NO_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 1 }
			visible when ( "@MPUI_ENABLED_NO_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 364 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 2 }
			visible when ( "@MPUI_ENABLED_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 379 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 394 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 409 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_vip_@mpui_rules_time_limit"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_vip_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 131 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5MINUTES"
			dvarTest "scr_vip_timelimit"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5MINUTES" != "" )
			action
			{
				setdvar "scr_vip_timelimit" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_3MINUTES"
			dvarTest "scr_vip_timelimit"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_3MINUTES" != "" )
			action
			{
				setdvar "scr_vip_timelimit" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_vip_timelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_vip_timelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_8MINUTES"
			dvarTest "scr_vip_timelimit"
			focusDvar { 8 }
			visible when ( "@MPUI_RULES_8MINUTES" != "" )
			action
			{
				setdvar "scr_vip_timelimit" 8 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_vip_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_vip_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_vip_timelimit"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_vip_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_vip_@mpui_rules_round_switch"
		rect -272 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_vip_roundswitch";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 64 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 64 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 149 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 149 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 149 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 64 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NEVER"
			dvarTest "scr_vip_roundswitch"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NEVER" != "" )
			action
			{
				setdvar "scr_vip_roundswitch" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_ROUND"
			dvarTest "scr_vip_roundswitch"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_EVERY_ROUND" != "" )
			action
			{
				setdvar "scr_vip_roundswitch" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_2ROUNDS"
			dvarTest "scr_vip_roundswitch"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_EVERY_2ROUNDS" != "" )
			action
			{
				setdvar "scr_vip_roundswitch" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_3ROUNDS"
			dvarTest "scr_vip_roundswitch"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_EVERY_3ROUNDS" != "" )
			action
			{
				setdvar "scr_vip_roundswitch" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_EVERY_4ROUNDS"
			dvarTest "scr_vip_roundswitch"
			focusDvar { 4 }
			visible when ( "@MPUI_RULES_EVERY_4ROUNDS" != "" )
			action
			{
				setdvar "scr_vip_roundswitch" 4 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_vip_roundswitch"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_vip_roundswitch" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_vip"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_vip";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@MENU_VIP_DESC" )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_TIME_LIMIT"
			dvar "scr_vip_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_vip_@MPUI_RULES_TIME_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_vip_timelimit"
			dvarStrList { "@MPUI_RULES_2_5MINUTES" "2.5" "@MPUI_RULES_3MINUTES" "3" "@MPUI_RULES_5MINUTES" "5" "@MPUI_RULES_8MINUTES" "8" "@MPUI_RULES_10MINUTES" "10" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_2"
			rect -272 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_ROUND_SWITCH"
			dvar "scr_vip_roundswitch"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_21";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_vip_@MPUI_RULES_ROUND_SWITCH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_vip_roundswitch"
			dvarStrList { "@MPUI_RULES_NEVER" "0" "@MPUI_RULES_EVERY_ROUND" "1" "@MPUI_RULES_EVERY_2ROUNDS" "2" "@MPUI_RULES_EVERY_3ROUNDS" "3" "@MPUI_RULES_EVERY_4ROUNDS" "4" "" "0" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_vip_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_TEAM_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_vip_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_vip_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_vip_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			name "sidenav_button_16"
			rect -272 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FRIENDLY_FIRE"
			dvar "scr_team_fftype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_vip_@MPUI_RULES_FRIENDLY_FIRE";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_team_fftype"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" "@MPUI_RULES_REFLECT" "2" "@MPUI_RULES_SHARED" "3" "" "0" "" "0" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_vip_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_vip_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_vip_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_vip_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_vip_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_vip_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_vip_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_vip_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_vip_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_TEAM_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_TEAM_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_vip_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_vip_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_vip_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_vip_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_vip_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_vip_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_vip_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_vip_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_vip_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_vip_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_vip_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_vip_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_vip_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_vip_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_vip_@mpui_rules_friendly_fire"
		rect -272 316 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_team_fftype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 316 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -684 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 316 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 300 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 386 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 316 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 331 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_ENABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 1 }
			visible when ( "@MENU_ENABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 346 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_REFLECT"
			dvarTest "scr_team_fftype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_REFLECT" != "" )
			action
			{
				setdvar "scr_team_fftype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 361 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SHARED"
			dvarTest "scr_team_fftype"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_SHARED" != "" )
			action
			{
				setdvar "scr_team_fftype" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 376 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 391 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_vip_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_vip_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_vip_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_vip_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_vip_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_vip_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_vip_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_vip_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_vip_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_vip_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_vip_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_vip_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_vip_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_vip_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_vip_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_vip_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_vip_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_vip_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_vip_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_vip_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_vip_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_vip_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_vip_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_vip_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_vip_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_vip_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_vip_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_vip_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_vip_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_vip_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_vip_@mpui_rules_diehard"
		rect 0 334 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_diehard";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 334 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -666 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 334 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 318 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 389 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 334 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 349 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_NO_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 1 }
			visible when ( "@MPUI_ENABLED_NO_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 364 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 2 }
			visible when ( "@MPUI_ENABLED_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 379 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 394 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 409 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_gtnw_@mpui_rules_time_limit"
		rect -272 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_gtnw_timelimit";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 46 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 131 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 131 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 46 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_2_5MINUTES"
			dvarTest "scr_gtnw_timelimit"
			focusDvar { "2.5" }
			visible when ( "@MPUI_RULES_2_5MINUTES" != "" )
			action
			{
				setdvar "scr_gtnw_timelimit" "2.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_3MINUTES"
			dvarTest "scr_gtnw_timelimit"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_3MINUTES" != "" )
			action
			{
				setdvar "scr_gtnw_timelimit" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5MINUTES"
			dvarTest "scr_gtnw_timelimit"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5MINUTES" != "" )
			action
			{
				setdvar "scr_gtnw_timelimit" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_8MINUTES"
			dvarTest "scr_gtnw_timelimit"
			focusDvar { 8 }
			visible when ( "@MPUI_RULES_8MINUTES" != "" )
			action
			{
				setdvar "scr_gtnw_timelimit" 8 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10MINUTES"
			dvarTest "scr_gtnw_timelimit"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10MINUTES" != "" )
			action
			{
				setdvar "scr_gtnw_timelimit" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_gtnw_timelimit"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_gtnw_timelimit" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_gtnw"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close "settings_quick_gtnw";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textalignx 5
			textscale 0.5
			exp text ( "@MENU_GTNW_DESC" )
		}
		itemDef
		{
			rect 0 28 640 162 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 -4 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 -4 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 190 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 190 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 28 32 162 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 226 640 144 4 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -32 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 194 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 194 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 640 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 370 640 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 370 32 32 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -32 226 32 144 4 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -272 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_GAME_RULES" )
		}
		itemDef
		{
			name "sidenav_button_1"
			rect -272 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_TIME_LIMIT"
			dvar "scr_gtnw_timelimit"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_20";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_gtnw_@MPUI_RULES_TIME_LIMIT";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_gtnw_timelimit"
			dvarStrList { "@MPUI_RULES_2_5MINUTES" "2.5" "@MPUI_RULES_3MINUTES" "3" "@MPUI_RULES_5MINUTES" "5" "@MPUI_RULES_8MINUTES" "8" "@MPUI_RULES_10MINUTES" "10" "" "0" }
		}
		itemDef
		{
			rect -272 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_TEAM_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_12"
			rect -272 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_SPECTATING"
			dvar "scr_game_spectatetype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_31";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_gtnw_@MPUI_RULES_SPECTATING";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_spectatetype"
			dvarStrList { "@MENU_DISABLED" "0" "@MPUI_RULES_TEAM_ONLY" "1" "@MPUI_RULES_FREE" "2" "" "0" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_13"
			rect -272 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_WAVE_DELAY"
			dvar "scr_gtnw_waverespawndelay"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_32";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_gtnw_@MPUI_RULES_WAVE_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_gtnw_waverespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_14"
			rect -272 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FORCE_RESPAWN"
			dvar "scr_player_forcerespawn"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_33";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_player_forcerespawn 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_forcerespawn"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_15"
			rect -272 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RADAR_ALWAYS_ON"
			dvar "scr_game_forceuav"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_34";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_forceuav 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_forceuav"
			dvarStrList { "@MENU_NO" "0" "@MENU_YES" "1" }
		}
		itemDef
		{
			name "sidenav_button_16"
			rect -272 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_FRIENDLY_FIRE"
			dvar "scr_team_fftype"
			execKey "APAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			execKey "DPAD_RIGHT"
			{
				setfocus "sidenav_button_35";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_gtnw_@MPUI_RULES_FRIENDLY_FIRE";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -272 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_team_fftype"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" "@MPUI_RULES_REFLECT" "2" "@MPUI_RULES_SHARED" "3" "" "0" "" "0" }
		}
		itemDef
		{
			rect 0 28 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_PLAYER_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_20"
			rect 0 46 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_NUMBER_OF_LIVES"
			dvar "scr_gtnw_numlives"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_1";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_gtnw_@MPUI_RULES_NUMBER_OF_LIVES";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 46 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_gtnw_numlives"
			dvarStrList { "@MPUI_RULES_UNLIMITED" "0" "@MPUI_RULES_ITEM_LIFE" "1" "@MPUI_RULES_ITEM_2LIVES" "2" "@MPUI_RULES_ITEM_3LIVES" "3" "@MPUI_RULES_ITEM_5LIVES" "5" "@MPUI_RULES_ITEM_9LIVES" "9" }
		}
		itemDef
		{
			name "sidenav_button_21"
			rect 0 64 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_RESPAWN_DELAY"
			dvar "scr_gtnw_playerrespawndelay"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_2";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_gtnw_@MPUI_RULES_RESPAWN_DELAY";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 64 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_gtnw_playerrespawndelay"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_5SECONDS" "5" "@MPUI_RULES_7_5SECONDS" "7.5" "@MPUI_RULES_10SECONDS" "10" "@MPUI_RULES_15SECONDS" "15" "@MPUI_RULES_30SECONDS" "30" }
		}
		itemDef
		{
			name "sidenav_button_22"
			rect 0 82 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_MAX_HEALTH"
			dvar "scr_player_maxhealth"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_3";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_gtnw_@MPUI_RULES_MAX_HEALTH";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 82 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_maxhealth"
			dvarStrList { "@MPUI_RULES_MINISCULE" "30" "@MPUI_RULES_HALF" "50" "@MPUI_RULES_NORMAL" "100" "@MPUI_RULES_DOUBLE" "200" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_23"
			rect 0 100 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEALTH_REGEN"
			dvar "scr_player_healthregentime"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_4";
			}
			action
			{
				play "mouse_click";
				open "settings_quick_gtnw_@MPUI_RULES_HEALTH_REGEN";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 100 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_player_healthregentime"
			dvarStrList { "@MPUI_RULES_NONE" "0" "@MPUI_RULES_FAST" "2" "@MPUI_RULES_NORMAL" "5" "@MPUI_RULES_SLOW" "10" "" "0" "" "0" }
		}
		itemDef
		{
			name "sidenav_button_24"
			rect 0 118 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLCAM"
			dvar "scr_game_allowkillcam"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_5";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_allowkillcam 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 118 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_allowkillcam"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 226 160 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -32
			textscale 0.3333
			exp text ( "@MPUI_RULES_GAMEPLAY_OPTIONS" )
		}
		itemDef
		{
			name "sidenav_button_31"
			rect 0 244 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HEADSHOTS_ONLY"
			dvar "scr_game_onlyheadshots"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_12";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_onlyheadshots 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 244 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_onlyheadshots"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_32"
			rect 0 262 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_PERKS"
			dvar "scr_game_perks"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_13";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_perks 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 262 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_perks"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_33"
			rect 0 280 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_KILLSTREAK_REWARDS"
			dvar "scr_game_hardpoints"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_14";
			}
			action
			{
				play "mouse_click";
				exec "toggle scr_game_hardpoints 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 280 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "scr_game_hardpoints"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_34"
			rect 0 298 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_HARDCORE"
			dvar "g_hardcore"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_15";
			}
			action
			{
				play "mouse_click";
				execnow "toggle g_hardcore 0 1";
				play "mouse_click";
				execNowOnDvarIntValue "g_hardcore" 0 "exec hardcore_disable.cfg";
				execNowOnDvarIntValue "g_hardcore" 1 "exec hardcore_settings.cfg";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 298 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "g_hardcore"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			name "sidenav_button_35"
			rect 0 316 160 18 2 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_rules_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -32
			textaligny -2
			textscale 0.375
			text "@MPUI_RULES_CAMERA"
			dvar "camera_thirdperson"
			execKey "APAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			execKey "DPAD_LEFT"
			{
				setfocus "sidenav_button_16";
			}
			action
			{
				play "mouse_click";
				exec "toggle camera_thirdperson 0 1";
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 316 272 18 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			type 12
			textfont 3
			textalign 4
			textalignx 160
			textaligny -2
			textscale 0.375
			dvar "camera_thirdperson"
			dvarStrList { "@MENU_DISABLED" "0" "@MENU_ENABLED" "1" }
		}
		itemDef
		{
			rect 0 0 144 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect x ( getfocuseditemx( ) )
			exp rect y ( getfocuseditemy( ) )
			visible when ( !localvarbool( "ui_hideSelectButton" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "settings_quick_gtnw_@mpui_rules_spectating"
		rect -272 244 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_game_spectatetype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 244 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -756 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 244 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 228 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 228 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 299 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 299 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 244 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 244 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 259 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_TEAM_ONLY"
			dvarTest "scr_game_spectatetype"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_TEAM_ONLY" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 274 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FREE"
			dvarTest "scr_game_spectatetype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FREE" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 289 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 304 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 319 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_game_spectatetype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_game_spectatetype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_gtnw_@mpui_rules_wave_delay"
		rect -272 262 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_gtnw_waverespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 262 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -738 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 262 110 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 246 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 246 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 347 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 347 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 262 16 85 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 262 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_gtnw_waverespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_gtnw_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 277 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_gtnw_waverespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_gtnw_waverespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 292 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_gtnw_waverespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_gtnw_waverespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 307 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_gtnw_waverespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_gtnw_waverespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 322 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_gtnw_waverespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_gtnw_waverespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 337 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_gtnw_waverespawndelay"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_gtnw_waverespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_gtnw_@mpui_rules_friendly_fire"
		rect -272 316 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_team_fftype";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect -272 316 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1272 -684 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 316 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -144 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 300 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 300 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -18 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 386 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 386 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -144 316 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -128 316 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 331 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_ENABLED"
			dvarTest "scr_team_fftype"
			focusDvar { 1 }
			visible when ( "@MENU_ENABLED" != "" )
			action
			{
				setdvar "scr_team_fftype" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 346 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_REFLECT"
			dvarTest "scr_team_fftype"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_REFLECT" != "" )
			action
			{
				setdvar "scr_team_fftype" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 361 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SHARED"
			dvarTest "scr_team_fftype"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_SHARED" != "" )
			action
			{
				setdvar "scr_team_fftype" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 376 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect -128 391 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_team_fftype"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_team_fftype" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_gtnw_@mpui_rules_number_of_lives"
		rect 0 46 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_gtnw_numlives";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 46 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -954 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 46 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 30 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 30 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 146 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 146 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 46 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 46 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_UNLIMITED"
			dvarTest "scr_gtnw_numlives"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_UNLIMITED" != "" )
			action
			{
				setdvar "scr_gtnw_numlives" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 61 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_LIFE"
			dvarTest "scr_gtnw_numlives"
			focusDvar { 1 }
			visible when ( "@MPUI_RULES_ITEM_LIFE" != "" )
			action
			{
				setdvar "scr_gtnw_numlives" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 76 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_2LIVES"
			dvarTest "scr_gtnw_numlives"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_ITEM_2LIVES" != "" )
			action
			{
				setdvar "scr_gtnw_numlives" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 91 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_3LIVES"
			dvarTest "scr_gtnw_numlives"
			focusDvar { 3 }
			visible when ( "@MPUI_RULES_ITEM_3LIVES" != "" )
			action
			{
				setdvar "scr_gtnw_numlives" 3 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 106 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_5LIVES"
			dvarTest "scr_gtnw_numlives"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_ITEM_5LIVES" != "" )
			action
			{
				setdvar "scr_gtnw_numlives" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 121 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_ITEM_9LIVES"
			dvarTest "scr_gtnw_numlives"
			focusDvar { 9 }
			visible when ( "@MPUI_RULES_ITEM_9LIVES" != "" )
			action
			{
				setdvar "scr_gtnw_numlives" 9 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_gtnw_@mpui_rules_respawn_delay"
		rect 0 64 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_gtnw_playerrespawndelay";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 64 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -936 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 64 110 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 48 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 48 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 164 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 164 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 64 16 100 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 64 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_gtnw_playerrespawndelay"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_gtnw_playerrespawndelay" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 79 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_5SECONDS"
			dvarTest "scr_gtnw_playerrespawndelay"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_5SECONDS" != "" )
			action
			{
				setdvar "scr_gtnw_playerrespawndelay" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 94 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_7_5SECONDS"
			dvarTest "scr_gtnw_playerrespawndelay"
			focusDvar { "7.5" }
			visible when ( "@MPUI_RULES_7_5SECONDS" != "" )
			action
			{
				setdvar "scr_gtnw_playerrespawndelay" "7.5" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 109 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_10SECONDS"
			dvarTest "scr_gtnw_playerrespawndelay"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_10SECONDS" != "" )
			action
			{
				setdvar "scr_gtnw_playerrespawndelay" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 124 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_15SECONDS"
			dvarTest "scr_gtnw_playerrespawndelay"
			focusDvar { "15" }
			visible when ( "@MPUI_RULES_15SECONDS" != "" )
			action
			{
				setdvar "scr_gtnw_playerrespawndelay" "15" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 139 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_30SECONDS"
			dvarTest "scr_gtnw_playerrespawndelay"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_30SECONDS" != "" )
			action
			{
				setdvar "scr_gtnw_playerrespawndelay" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_gtnw_@mpui_rules_max_health"
		rect 0 82 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_maxhealth";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 82 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -918 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 82 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 66 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 66 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 152 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 152 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 82 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 82 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_MINISCULE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "30" }
			visible when ( "@MPUI_RULES_MINISCULE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "30" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 97 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_HALF"
			dvarTest "scr_player_maxhealth"
			focusDvar { "50" }
			visible when ( "@MPUI_RULES_HALF" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "50" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 112 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_maxhealth"
			focusDvar { "100" }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "100" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 127 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_DOUBLE"
			dvarTest "scr_player_maxhealth"
			focusDvar { "200" }
			visible when ( "@MPUI_RULES_DOUBLE" != "" )
			action
			{
				setdvar "scr_player_maxhealth" "200" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 142 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 157 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_maxhealth"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_maxhealth" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_gtnw_@mpui_rules_health_regen"
		rect 0 100 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_player_healthregentime";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 100 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -900 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 100 110 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 84 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 84 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 170 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 170 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 100 16 70 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 100 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NONE"
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "@MPUI_RULES_NONE" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 115 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_FAST"
			dvarTest "scr_player_healthregentime"
			focusDvar { 2 }
			visible when ( "@MPUI_RULES_FAST" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 130 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_NORMAL"
			dvarTest "scr_player_healthregentime"
			focusDvar { 5 }
			visible when ( "@MPUI_RULES_NORMAL" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 5 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 145 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_RULES_SLOW"
			dvarTest "scr_player_healthregentime"
			focusDvar { "10" }
			visible when ( "@MPUI_RULES_SLOW" != "" )
			action
			{
				setdvar "scr_player_healthregentime" "10" play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 160 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 175 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_player_healthregentime"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_player_healthregentime" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "settings_quick_gtnw_@mpui_rules_diehard"
		rect 0 334 272 18 2 1
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect y ( localvarint( "ui_popupYPos" ) )
		onOpen
		{
			focusfirst;
			setfocusbydvar "scr_diehard";
			setLocalVarBool "ui_hideSelectButton" ( 1 );
		}
		onClose
		{
			setLocalVarBool "ui_hideSelectButton" ( 0 );
		}
		onEsc
		{
			play "mouse_click";
			close self;
		}
		itemDef
		{
			rect 0 334 0 0 2 1
			style 3
			decoration
			visible 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect -1000 -666 4000 4000 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect 144 334 110 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0.35 0.35 0.35 1
			textscale 0.55
			exp material ( "white" )
		}
		itemDef
		{
			rect 128 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 318 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 318 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 254 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 389 110 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 389 16 16 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 128 334 16 55 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 144 334 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MENU_DISABLED"
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "@MENU_DISABLED" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 349 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_NO_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 1 }
			visible when ( "@MPUI_ENABLED_NO_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 1 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 364 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			text "@MPUI_ENABLED_BLEED"
			dvarTest "scr_diehard"
			focusDvar { 2 }
			visible when ( "@MPUI_ENABLED_BLEED" != "" )
			action
			{
				setdvar "scr_diehard" 2 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 379 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 394 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
		itemDef
		{
			rect 144 409 128 15 2 1
			visible 1
			forecolor 0.65 0.65 0.65 1
			textalign 8
			textalignx 12
			textscale 0.375
			dvarTest "scr_diehard"
			focusDvar { 0 }
			visible when ( "" != "" )
			action
			{
				setdvar "scr_diehard" 0 play "mouse_click";
				close self;
			}
			leaveFocus
			{
				play "mouse_submenu_over";
			}
		}
	}
	menuDef
	{
		name "menu_leaderboards"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		onOpen
		{
			focusfirst;
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_LEADERBOARDS_CAP"
		}
		itemDef
		{
			rect -272 0 0 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_statusString"
			visible when ( !dvarint( "xblive_privatematch" ) && inlobby( ) )
		}
		itemDef
		{
			name "leaderboards_score"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_SCORE_CAPS"
			action
			{
				play "mouse_click";
				open "menu_leaderboard_experience";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MENU_CHECK_HOW_YOUR_SCORE" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "leaderboards_wins"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_WINS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_leaderboard_wins";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_LEADERBOARD_WINS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "leaderboards_kills"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_KILLS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_leaderboard_kills";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_LEADERBOARD_KILLS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "leaderboards_accuracy"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MPUI_ACCURACY_CAPS"
			action
			{
				play "mouse_click";
				open "menu_leaderboard_accuracy";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_hint_text" ( "@MPUI_DESC_LEADERBOARD_ACCURACY" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.45
			background "shadow_inset"
			textscale 0.55
		}
		itemDef
		{
			rect 0 -18 726 18 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			type 20
			textscale 0.375
			newsfeed 1
			speed 50
			spacing 30
			exp rect w ( 544 + ( dvarint( "wideScreen" ) * 182 ) )
		}
		itemDef
		{
			rect 0 220 212 18 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			rect 0 0 208 70 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 208 70 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_248x48"
			textfont 6
			textalign 4
			textaligny -20
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 208 )
			exp rect y ( 18 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( - 208 )
			exp rect y ( ( 18 ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 0 48 48 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 208 ) + 160 )
			exp rect y ( ( 18 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textalignx 8
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && getplayercardinfo( 9 , 1 , 0 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 1 , 0 ) + "]" )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 208 ) + 164 )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , ( getplayercardinfo( 5 , 1 , 0 ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textalignx 20
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 208 ) + 164 )
			exp rect y ( ( 18 ) + 48 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) && ( getplayercardinfo( 4 , 1 , 0 ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 1 , 0 ) , 14 ) )
		}
		itemDef
		{
			rect -208 90 -208 270 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -208 90 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_RANK_PRE" )
		}
		itemDef
		{
			rect -208 90 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( 1 )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
		}
		itemDef
		{
			rect -18 91 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( 1 )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect -208 110 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_XP_PRE" )
		}
		itemDef
		{
			rect -208 110 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "experience" ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) + 1 , 5 ) )
		}
		itemDef
		{
			rect -18 131 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) == 0 )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) + 1 , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -22
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp text ( "@MPUI_PRESTIGE" )
		}
		itemDef
		{
			rect -18 131 18 18 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) && ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && levelforexperience( getplayerdata( "experience" ) ) == int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , 0 , getplayerdata( "prestige" ) + 2 ) )
		}
		itemDef
		{
			rect -208 130 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NEXT_PRE" )
		}
		itemDef
		{
			rect -208 130 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) || getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) ) == 0 )
			exp text ( "@MPUI_NONE" )
		}
		itemDef
		{
			rect -80 152 80 16 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.35
			background "black"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -80 154 25 12 3 1
			style 3
			decoration
			visible 1
			forecolor 1 0.9 0.5 0.6
			background "gradient_fadein"
			textscale 0.55
			exp rect w ( 0 - 80 * ( int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) - getplayerdata( "experience" ) ) / int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 3 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -208 150 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_XP_REQUIRED_PRE" )
		}
		itemDef
		{
			rect -208 150 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 7 ) - getplayerdata( "experience" ) ) )
		}
		itemDef
		{
			rect -208 170 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_SCORE_PRE" )
		}
		itemDef
		{
			rect -208 170 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "score" ) )
		}
		itemDef
		{
			rect -208 190 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_WINS_PRE" )
		}
		itemDef
		{
			rect -208 190 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "wins" ) )
		}
		itemDef
		{
			rect -208 210 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_LOSSES_PRE" )
		}
		itemDef
		{
			rect -208 210 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "losses" ) )
		}
		itemDef
		{
			rect -208 230 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_TIES_PRE" )
		}
		itemDef
		{
			rect -208 230 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "ties" ) )
		}
		itemDef
		{
			rect -208 250 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_WINSTREAK_PRE" )
		}
		itemDef
		{
			rect -208 250 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "winStreak" ) )
		}
		itemDef
		{
			rect -208 270 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_KILLS_PRE" )
		}
		itemDef
		{
			rect -208 270 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "kills" ) )
		}
		itemDef
		{
			rect -208 290 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_HEADSHOTS_PRE" )
		}
		itemDef
		{
			rect -208 290 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "headshots" ) )
		}
		itemDef
		{
			rect -208 310 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_ASSISTS_PRE" )
		}
		itemDef
		{
			rect -208 310 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "assists" ) )
		}
		itemDef
		{
			rect -208 330 -208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_STREAK_PRE" )
		}
		itemDef
		{
			rect -208 330 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "killStreak" ) )
		}
		itemDef
		{
			rect -208 350 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_DEATHS_PRE" )
		}
		itemDef
		{
			rect -208 350 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( getplayerdata( "deaths" ) )
		}
		itemDef
		{
			rect -208 370 -208 20 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textfont 3
			textalign 4
			textalignx 4
			textscale 0.375
			visible when ( 1 )
			exp text ( "@MPUI_TIME_PLAYED_PRE" )
		}
		itemDef
		{
			rect -208 370 208 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( 1 )
			exp text ( secondsastime( getplayerdata( "timePlayedAllies" ) + getplayerdata( "timePlayedOpfor" ) + getplayerdata( "timePlayedOther" ) ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -44 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_leaderboard_kills"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		execKey "BUTTON_Y"
		{
			play "mouse_click";
			execnow "toggle lb_filter 0 1";
		}
		onOpen
		{
			uiScript "OpenLeaderboard" "LB_KILLS";
			setdvar "lb_filter" "friends";
			uiScript "RefreshLeaderboards";
			execnow "nosplitscreen";
			setfocus "leaderboard";
		}
		onEsc
		{
			close "menu_leaderboard_kills";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5
			text "@MENU_KILLS_GLOBAL_CAP"
			visible when ( dvarstring( "lb_filter" ) == "none" )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5
			text "@MENU_KILLS_FRIENDS_CAP"
			visible when ( dvarstring( "lb_filter" ) == "friends" )
		}
		itemDef
		{
			rect -304 34 612 18 2 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 0.925 0.5
			textscale 0.55
			exp material ( "line_horizontal" )
		}
		itemDef
		{
			rect 116 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_RANK"
		}
		itemDef
		{
			rect 142 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_LEVEL"
		}
		itemDef
		{
			rect 188 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_PLAYER"
		}
		itemDef
		{
			rect 423 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_KILLS"
		}
		itemDef
		{
			rect 488 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_DEATHS"
		}
		itemDef
		{
			rect 537 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_RATIO"
		}
		itemDef
		{
			rect 584 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_STREAK"
		}
		itemDef
		{
			name "leaderboard"
			rect 36 88 564 324 0 0
			style 1
			visible 1
			forecolor 1 1 1 1
			outlinecolor 0.9 0.9 0.925 0.2
			type 6
			textfont 1
			textaligny -2
			textscale 0.375
			textstyle 3
			feeder 30
			selectBorder 0.8 0.95 1 0
			elementwidth 120
			elementheight 18
//			numcol			xpos	xwidth	textlen	  alignment
			columns 8		50		30		10		  2
							100		20		10		  2
							120		20		10		  1
							152		35		55		  0
							298		80		10		  2
							380		64		10		  2
							428		64		10		  2
							490		48		10		  2
			usepaging
			execKey "BUTTON_X"
			{
				feederTop;
			}
		}
		itemDef
		{
			rect 0 -44 181.333 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_CHANGE_FILTER_CAPS"
		}
		itemDef
		{
			rect 0 -20 181.333 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -90.6667 -44 181.333 24 2 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_TOP_OF_LIST_CAPS"
		}
		itemDef
		{
			rect -181.333 -44 181.333 24 3 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_PAGE_UP_CAPS"
		}
		itemDef
		{
			rect -181.333 -20 181.333 24 3 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_PAGE_DOWN_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_leaderboard_wins"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		execKey "BUTTON_Y"
		{
			play "mouse_click";
			execnow "toggle lb_filter 0 1";
		}
		onOpen
		{
			uiScript "OpenLeaderboard" "LB_WINS";
			setdvar "lb_filter" "friends";
			uiScript "RefreshLeaderboards";
			execnow "nosplitscreen";
			setfocus "leaderboard";
		}
		onEsc
		{
			close "menu_leaderboard_wins";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5
			text "@MENU_WINS_GLOBAL_CAP"
			visible when ( dvarstring( "lb_filter" ) == "none" )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5
			text "@MENU_WINS_FRIENDS_CAP"
			visible when ( dvarstring( "lb_filter" ) == "friends" )
		}
		itemDef
		{
			rect -304 34 612 18 2 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 0.925 0.5
			textscale 0.55
			exp material ( "line_horizontal" )
		}
		itemDef
		{
			rect 116 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_RANK"
		}
		itemDef
		{
			rect 142 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_LEVEL"
		}
		itemDef
		{
			rect 188 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_PLAYER"
		}
		itemDef
		{
			rect 400 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_WINS"
		}
		itemDef
		{
			rect 462 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_LOSSES"
		}
		itemDef
		{
			rect 518 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_RATIO"
		}
		itemDef
		{
			rect 574 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_STREAK"
		}
		itemDef
		{
			name "leaderboard"
			rect 36 88 564 324 0 0
			style 1
			visible 1
			forecolor 1 1 1 1
			outlinecolor 0.9 0.9 0.925 0.2
			type 6
			textfont 1
			textaligny -2
			textscale 0.375
			feeder 30
			selectBorder 0.8 0.95 1 0
			elementwidth 120
			elementheight 18
//			numcol			xpos	xwidth	textlen	  alignment
			columns 8		50		30		10		  2
							100		20		10		  2
							120		20		10		  1
							152		35		55		  0
							300		64		10		  2
							360		64		10		  2
							418		64		10		  2
							488		48		10		  2
			usepaging
			execKey "BUTTON_X"
			{
				feederTop;
			}
		}
		itemDef
		{
			rect 0 -44 181.333 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_CHANGE_FILTER_CAPS"
		}
		itemDef
		{
			rect 0 -20 181.333 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -90.6667 -44 181.333 24 2 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_TOP_OF_LIST_CAPS"
		}
		itemDef
		{
			rect -181.333 -44 181.333 24 3 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_PAGE_UP_CAPS"
		}
		itemDef
		{
			rect -181.333 -20 181.333 24 3 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_PAGE_DOWN_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_leaderboard_experience"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		execKey "BUTTON_Y"
		{
			play "mouse_click";
			execnow "toggle lb_filter 0 1";
		}
		onOpen
		{
			uiScript "OpenLeaderboard" "LB_TOTALXP";
			setdvar "lb_filter" "friends";
			uiScript "RefreshLeaderboards";
			execnow "nosplitscreen";
			setfocus "leaderboard";
		}
		onEsc
		{
			close "menu_leaderboard_experience";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5
			text "@MENU_SCORE_GLOBAL_CAP"
			visible when ( dvarstring( "lb_filter" ) == "none" )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5
			text "@MENU_SCORE_FRIENDS_CAP"
			visible when ( dvarstring( "lb_filter" ) == "friends" )
		}
		itemDef
		{
			rect -304 34 612 18 2 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 0.925 0.5
			textscale 0.55
			exp material ( "line_horizontal" )
		}
		itemDef
		{
			rect 116 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_RANK"
		}
		itemDef
		{
			rect 142 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_LEVEL"
		}
		itemDef
		{
			rect 188 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_PLAYER"
		}
		itemDef
		{
			rect 444 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MPUI_SCORE"
		}
		itemDef
		{
			rect 574 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_TIME_PLAYED"
		}
		itemDef
		{
			name "leaderboard"
			rect 36 88 564 324 0 0
			style 1
			visible 1
			forecolor 1 1 1 1
			outlinecolor 0.9 0.9 0.925 0.2
			type 6
			textfont 1
			textaligny -2
			textscale 0.375
			textstyle 3
			feeder 30
			selectBorder 0.8 0.95 1 0
			elementwidth 120
			elementheight 18
//			numcol			xpos	xwidth	textlen	  alignment
			columns 6		50		30		10		  2
							100		20		10		  2
							120		20		10		  1
							152		35		55		  0
							312		96		10		  2
							440		96		15		  2
			usepaging
			execKey "BUTTON_X"
			{
				feederTop;
			}
		}
		itemDef
		{
			rect 0 -44 181.333 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_CHANGE_FILTER_CAPS"
		}
		itemDef
		{
			rect 0 -20 181.333 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -90.6667 -44 181.333 24 2 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_TOP_OF_LIST_CAPS"
		}
		itemDef
		{
			rect -181.333 -44 181.333 24 3 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_PAGE_UP_CAPS"
		}
		itemDef
		{
			rect -181.333 -20 181.333 24 3 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_PAGE_DOWN_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "menu_leaderboard_accuracy"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		soundLoop "music_mainmenu_mp"
		execKey "BUTTON_Y"
		{
			play "mouse_click";
			execnow "toggle lb_filter 0 1";
		}
		onOpen
		{
			uiScript "OpenLeaderboard" "LB_ACCURACY";
			setdvar "lb_filter" "friends";
			uiScript "RefreshLeaderboards";
			execnow "nosplitscreen";
			setfocus "leaderboard";
		}
		onEsc
		{
			close "menu_leaderboard_accuracy";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5
			text "@MENU_ACCURACY_GLOBAL_CAP"
			visible when ( dvarstring( "lb_filter" ) == "none" )
		}
		itemDef
		{
			rect 0 0 0 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5
			text "@MENU_ACCURACY_FRIENDS_CAP"
			visible when ( dvarstring( "lb_filter" ) == "friends" )
		}
		itemDef
		{
			rect -304 34 612 18 2 1
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 0.925 0.5
			textscale 0.55
			exp material ( "line_horizontal" )
		}
		itemDef
		{
			rect 116 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_RANK"
		}
		itemDef
		{
			rect 142 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_LEVEL"
		}
		itemDef
		{
			rect 188 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			text "@MENU_PLAYER"
		}
		itemDef
		{
			rect 432 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_ACCURACY"
		}
		itemDef
		{
			rect 510 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_HITS"
		}
		itemDef
		{
			rect 582 86 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 2
			textscale 0.375
			text "@MENU_MISSES"
		}
		itemDef
		{
			name "leaderboard"
			rect 36 88 574 324 0 0
			style 1
			visible 1
			forecolor 1 1 1 1
			outlinecolor 0.9 0.9 0.925 0.2
			type 6
			textfont 1
			textaligny -2
			textscale 0.375
			textstyle 3
			feeder 30
			selectBorder 0.8 0.95 1 0
			elementwidth 120
			elementheight 18
//			numcol			xpos	xwidth	textlen	  alignment
			columns 7		50		30		10		  2
							100		20		10		  2
							120		20		10		  1
							152		35		55		  0
							332		64		10		  2
							377		96		10		  2
							450		96		10		  2
			usepaging
			execKey "BUTTON_X"
			{
				feederTop;
			}
		}
		itemDef
		{
			rect 0 -44 181.333 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_CHANGE_FILTER_CAPS"
		}
		itemDef
		{
			rect 0 -20 181.333 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -90.6667 -44 181.333 24 2 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_TOP_OF_LIST_CAPS"
		}
		itemDef
		{
			rect -181.333 -44 181.333 24 3 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_PAGE_UP_CAPS"
		}
		itemDef
		{
			rect -181.333 -20 181.333 24 3 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_PAGE_DOWN_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "popup_gettinglb"
		rect 0 0 640 480 0 0
		style 1
		popup
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onEsc
		{
			close "popup_gettinglb";
		}
		itemDef
		{
			rect 320 254 0 0 0 0
			decoration
			visible 1
			forecolor 0.4823 0.4823 0.4823 1
			textfont 9
			textalign 1
			textscale 0.4583
			text "@MENU_DOWNLOADING"
		}
	}
	menuDef
	{
		name "popup_invite"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			exec "setdvartotime inviteopentime";
		}
		itemDef
		{
			rect -164 -54 324 104 2 2
			style 3
			border 1
			bordersize 2
			decoration
			visible 1
			forecolor 0.2 0.2 0.22 1
			bordercolor 0.4 0.405 0.42 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			name "nofriends_online"
			rect -164 -54 312 92 2 2
			decoration
			autowrapped
			visible 1
			forecolor 0.69 0.69 0.69 1
			textfont 1
			textalignx 10
			textaligny 24
			textscale 0.375
			dvar "inviteText"
		}
		itemDef
		{
			rect -162 10 315.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 153.5 10 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
			visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 )
		}
		itemDef
		{
			rect -162 10 315.5 18 2 2
			style 3
			bordersize 2
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			bordercolor 0.8 0.95 1 0.4
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect 153.5 10 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect -164 11 320 18 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.3
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
		}
		itemDef
		{
			rect -162 10 320 18 2 2
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -22
			textscale 0.375
			textstyle 6
			visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 )
			exp text ( "@MENU_YES" )
			action
			{
				play "mouse_click";
				exec "acceptinvite";
				close "popup_invite" ;;
			}
			onFocus
			{
				play "mouse_submenu_over";
				setLocalVarInt "ui_highlight" ( 4 );
				setLocalVarString "ui_choicegroup" ( "popmenu" );
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect -162 30 315.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			textscale 0.55
			visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect 153.5 30 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.9 1 0.07
			background "button_highlight_end"
			textscale 0.55
			visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 )
		}
		itemDef
		{
			rect -162 30 315.5 18 2 2
			style 3
			bordersize 2
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			bordercolor 0.8 0.95 1 0.4
			background "gradient_fadein"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect 153.5 30 4.5 18 2 2
			style 3
			decoration
			visible 1
			forecolor 0.9 0.95 1 0.25
			background "button_highlight_end"
			textscale 0.55
			visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "popmenu" )
		}
		itemDef
		{
			rect -164 31 320 18 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.3
			text "@PLATFORM_UI_SELECTBUTTON"
			visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
		}
		itemDef
		{
			rect -162 30 320 18 2 2
			visible 1
			forecolor 0.69 0.69 0.69 1
			type 1
			textfont 1
			textalign 10
			textalignx -22
			textscale 0.375
			textstyle 6
			visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 )
			exp text ( "@MENU_NO" )
			action
			{
				play "mouse_click";
				exec "declineinvite";
				close "popup_invite" ;;
			}
			onFocus
			{
				play "mouse_submenu_over";
				setLocalVarInt "ui_highlight" ( 5 );
				setLocalVarString "ui_choicegroup" ( "popmenu" );
			}
			leaveFocus
			{
				setLocalVarInt "ui_highlight" ( 0 );
			}
		}
		itemDef
		{
			rect -164 2 322 46 2 2
			style 3
			border 1
			bordersize 2
			decoration
			visible 1
			forecolor 0.2 0.2 0.22 1
			background "white"
			textscale 0.55
			visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) <= 2000 )
		}
	}
	menuDef
	{
		name "menu_ps3_profile"
		rect -150 -84 300 84 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			if ( dvarbool( "splitscreen" ) && !menuisopen( "menu_resetstats_warning" ) )
			{
				execnow "splitscreencontrols";
			}
			if ( menuisopen( "menu_splitscreensignin" ) && !menuisopen( "menu_resetstats_warning" ) )
			{
				exec "startsplitscreensignin";
			}
		}
		onEsc
		{
			close self;
			execnow "cancelOfflineProfile";
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 300 84 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -214 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -148 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MENU_LOAD_OFFLINE_PROFILE"
		}
		itemDef
		{
			name "ps3_profile_new"
			rect -146 -60 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_CREATE_NEW_OFFLINE_PROFILE"
			action
			{
				play "mouse_click";
				exec "newOfflineProfile";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "ps3_profile_load"
			rect -146 -40 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_LOAD_EXISTING_OFFLINE_PROFILE"
			action
			{
				play "mouse_click";
				exec "loadOfflineProfile";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			name "ps3_profile_delete"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_DELETE_OFFLINE_PROFILE"
			action
			{
				play "mouse_click";
				exec "deleteOfflineProfile";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -84 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "menu_ps3_ui_bg"
		rect -500 -240 1000 480 2 2
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 0.2 0.25 0.35 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		itemDef
		{
			rect -500 -240 1000 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_bottom"
			textscale 0.55
		}
	}
	menuDef
	{
		name "controls"
		rect 0 0 640 480 0 0
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			execnow "profile_menuDvarsSetup; resetViewport" ;;
		}
		onClose
		{
			execnow "profile_menuDvarsFinish; resetViewport";
		}
		onEsc
		{
			close "controls";
			exec "updategamerprofile";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_OPTIONS_UPPER_CASE"
		}
		itemDef
		{
			rect 0 290 212 18 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			exp text ( localvarstring( "ui_options_hint_text" ) )
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_THUMBSTICK_LAYOUT_CAPS"
			action
			{
				play "mouse_click";
				close "controls";
				open "thumbstick";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_STICK_LAYOUT_DESC" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 248 28 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DEFAULT"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_default" )
		}
		itemDef
		{
			rect 248 28 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_SOUTHPAW"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_southpaw" )
		}
		itemDef
		{
			rect 248 28 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEGACY"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_legacy" )
		}
		itemDef
		{
			rect 248 28 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEGACY_SOUTHPAW"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_legacysouthpaw" )
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BUTTON_LAYOUT_CAPS"
			action
			{
				play "mouse_click";
				close "controls";
				open "buttons";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_BUTTON_LAYOUT_DESC" );
				if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
				{
					setLocalVarBool "ui_buttons_page" ( 1 );
				}
				else
				{
					setLocalVarBool "ui_buttons_page" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DEFAULT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default" )
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_TACTICAL"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical" )
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEFTY"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty" )
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DEFAULT_ALT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" )
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_TACTICAL_ALT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" )
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEFTY_ALT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
		}
		itemDef
		{
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LOOK_SENSITIVITY_CAPS"
			action
			{
				play "mouse_click";
				close "controls";
				open "sensitivity";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_SENSITIVITY_DESC" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 248 68 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LOW"
			visible when ( getprofiledata( "viewSensitivity" ) == 0.6 )
		}
		itemDef
		{
			rect 248 68 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_MEDIUM"
			visible when ( getprofiledata( "viewSensitivity" ) == 1 )
		}
		itemDef
		{
			rect 248 68 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_HIGH"
			visible when ( getprofiledata( "viewSensitivity" ) == 1.8 )
		}
		itemDef
		{
			rect 248 68 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_CUSTOM"
			visible when ( getprofiledata( "viewSensitivity" ) != 0.6 && getprofiledata( "viewSensitivity" ) != 1 && getprofiledata( "viewSensitivity" ) != 1.8 )
		}
		itemDef
		{
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LOOK_INVERSION_CAPS"
			action
			{
				play "mouse_click";
				exec "profile_toggleInvertedPitch";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_LOOK_INVERSION_DESC" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 248 88 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_ENABLED"
			visible when ( getprofiledata( "invertedPitch" ) )
		}
		itemDef
		{
			rect 248 88 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DISABLED"
			visible when ( !getprofiledata( "invertedPitch" ) )
		}
		itemDef
		{
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CONTROLLER_VIBRATION_CAPS"
			action
			{
				play "mouse_click";
				exec "profile_toggleRumble";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VIBRATION_DESC" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 248 108 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_ENABLED"
			visible when ( getprofiledata( "rumble" ) )
		}
		itemDef
		{
			rect 248 108 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DISABLED"
			visible when ( !getprofiledata( "rumble" ) )
		}
		itemDef
		{
			rect 0 128 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "button_safearea_adjusted_horizontal"
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_HUD_MARGIN_HORIZONTAL_CAPS"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "slider_safearea_adjusted_horizontal"
			rect 248 128 128 20 1 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textscale 0.55
			dvarFloat "profileMenuOption_safeAreaHorz" 0.85 0.85 1
			action
			{
				exec "profile_menuDvarsFinish; wait; wait; resetViewport";
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_safearea_adjusted_horizontal" backcolor 0 0 0 1;
				show "safe_area_demo";
				show "safe_area_demo_lr";
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_HORIZONTAL_MARGIN_DESC" );
			}
			leaveFocus
			{
				setItemColor "button_safearea_adjusted_horizontal" backcolor 0 0 0 "0.0";
				hide "safe_area_demo";
				hide "safe_area_demo_lr";
			}
		}
		itemDef
		{
			name "button_safearea_adjusted_vertical"
			rect -64 148 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_HUD_MARGIN_VERTICAL_CAPS"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "slider_safearea_adjusted_vertical"
			rect 248 148 128 20 1 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textscale 0.55
			dvarFloat "profileMenuOption_safeAreaVert" 0.85 0.85 1
			action
			{
				exec "profile_menuDvarsFinish; wait; wait; resetViewport";
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_safearea_adjusted_vertical" backcolor 0 0 0 1;
				show "safe_area_demo";
				show "safe_area_demo_tb";
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VERTICAL_MARGIN_DESC" );
			}
			leaveFocus
			{
				setItemColor "button_safearea_adjusted_vertical" backcolor 0 0 0 "0.0";
				hide "safe_area_demo";
				hide "safe_area_demo_tb";
			}
		}
		itemDef
		{
			rect -100 0 100 600 8 8
			group "safe_area_demo"
			style 1
			decoration
			forecolor 1 1 1 1
			backcolor 0.4 0.45 0.5 0.5
			textscale 0.55
		}
		itemDef
		{
			rect 0 -64 -32 128 8 2
			group "safe_area_demo_lr"
			style 3
			decoration
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
		}
		itemDef
		{
			rect 0 -600 100 600 10 10
			group "safe_area_demo"
			style 1
			decoration
			forecolor 1 1 1 1
			backcolor 0.4 0.45 0.5 0.5
			textscale 0.55
		}
		itemDef
		{
			rect -32 -64 32 128 10 2
			group "safe_area_demo_lr"
			style 3
			decoration
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
		}
		itemDef
		{
			rect -2000 -100 2000 100 10 8
			group "safe_area_demo"
			style 1
			decoration
			forecolor 1 1 1 1
			backcolor 0.4 0.45 0.5 0.5
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 128 32 2 8
			group "safe_area_demo_tb"
			style 3
			decoration
			forecolor 1 1 1 1
			background "summary_arrow_up"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 2000 100 8 10
			group "safe_area_demo"
			style 1
			decoration
			forecolor 1 1 1 1
			backcolor 0.4 0.45 0.5 0.5
			textscale 0.55
		}
		itemDef
		{
			rect -64 -32 128 -32 2 10
			group "safe_area_demo_tb"
			style 3
			decoration
			forecolor 1 1 1 1
			background "summary_arrow_up"
			textscale 0.55
		}
		itemDef
		{
			name "button_snd_volume"
			rect -64 168 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_VOLUME_CAPS"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "slider_snd_volume"
			rect 248 168 128 20 1 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textscale 0.55
			dvarFloat "profileMenuOption_volume" 0.8 0 0.8
			action
			{
				play "volume_adjust";
				execnow "profile_menuDvarsFinish" ;;
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_snd_volume" backcolor 0 0 0 1;
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_GAME_VOLUME_DESC" );
			}
			leaveFocus
			{
				setItemColor "button_snd_volume" backcolor 0 0 0 "0.0";
			}
		}
		itemDef
		{
			name "button_ps3_voiceSpeakerGain"
			rect -64 188 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_VOICE_VOLUME_CAPS"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "slider_ps3_voiceSpeakerGain"
			rect 248 188 128 20 1 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textscale 0.55
			dvarFloat "ps3_voiceSpeakerGain" 1.5 0 4
			onFocus
			{
				play "mouse_over";
				setItemColor "button_ps3_voiceSpeakerGain" backcolor 0 0 0 1;
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VOICE_DESC" );
			}
			leaveFocus
			{
				setItemColor "button_ps3_voiceSpeakerGain" backcolor 0 0 0 "0.0";
			}
		}
		itemDef
		{
			name "button_r_gamma"
			rect -64 208 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BRIGHTNESS_CAPS"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "slider_r_gamma"
			rect 248 208 128 20 1 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textscale 0.55
			dvarFloat "profileMenuOption_blacklevel" 0 0.2 -0.4
			action
			{
				execnow "profile_menuDvarsFinish" ;;
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_r_gamma" backcolor 0 0 0 1;
				setLocalVarBool "ui_adjusting_brightness" ( 1 );
				show "brightness_demo";
				setLocalVarString "ui_options_hint_text" ( "@MENU_BRIGHTNESS_DESC1" );
			}
			leaveFocus
			{
				setLocalVarBool "ui_adjusting_brightness" ( 0 );
				setItemColor "button_r_gamma" backcolor 0 0 0 "0.0";
				hide "brightness_demo";
			}
		}
		itemDef
		{
			rect 0 268 0 80 3 1
			group "brightness_demo"
			decoration
			autowrapped
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			text "@MENU_BRIGHTNESS_DESC2"
			exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 )
		}
		itemDef
		{
			rect 0 28 0 80 3 1
			group "brightness_demo"
			style 1
			decoration
			autowrapped
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			background "white"
			textfont 2
			textalign 9
			textscale 0.5833
			text "@MENU_BRIGHTNESS_NOT_VISIBLE"
			exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 )
			exp backcolor rgb ( ( ( ( 0.08 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
		}
		itemDef
		{
			rect 0 108 0 80 3 1
			group "brightness_demo"
			style 1
			decoration
			autowrapped
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			background "white"
			textfont 2
			textalign 9
			textscale 0.5833
			text "@MENU_BRIGHTNESS_BARELY_VISIBLE"
			exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 )
			exp backcolor rgb ( ( ( ( 0.125 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
		}
		itemDef
		{
			rect 0 188 0 80 3 1
			group "brightness_demo"
			style 1
			decoration
			autowrapped
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			background "white"
			textfont 2
			textalign 9
			textscale 0.5833
			text "@MENU_BRIGHTNESS_EASILY_VISIBLE"
			exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 )
			exp backcolor rgb ( ( ( ( 0.25 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "thumbstick"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onEsc
		{
			close "thumbstick";
			open "controls";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_STICK_LAYOUT_CAP"
		}
		itemDef
		{
			rect 150 95 350 350 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ps3_controller_top"
			textscale 0.55
		}
		itemDef
		{
			rect 240 280 90 90 0 0
			group "controls_thumbstick_set1"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move"
			textscale 0.55
		}
		itemDef
		{
			rect 322 280 90 90 0 0
			group "controls_thumbstick_set1"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_turn"
			textscale 0.55
		}
		itemDef
		{
			rect 412 315 0 0 0 0
			group "controls_thumbstick_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 6
			text "@MENU_ROTATE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 367 375 0 0 0 0
			group "controls_thumbstick_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_LOOK_UP_DOWN"
		}
		itemDef
		{
			rect 285 375 0 0 0 0
			group "controls_thumbstick_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_MOVE_FORWARD_BACK"
		}
		itemDef
		{
			rect 235 315 0 0 0 0
			group "controls_thumbstick_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			textstyle 6
			text "@MENU_STRAFE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 240 280 90 90 0 0
			group "controls_thumbstick_set2"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_turn"
			textscale 0.55
		}
		itemDef
		{
			rect 322 280 90 90 0 0
			group "controls_thumbstick_set2"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move"
			textscale 0.55
		}
		itemDef
		{
			rect 412 315 0 0 0 0
			group "controls_thumbstick_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 6
			text "@MENU_STRAFE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 367 375 0 0 0 0
			group "controls_thumbstick_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_MOVE_FORWARD_BACK"
		}
		itemDef
		{
			rect 285 375 0 0 0 0
			group "controls_thumbstick_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_LOOK_UP_DOWN"
		}
		itemDef
		{
			rect 235 315 0 0 0 0
			group "controls_thumbstick_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			textstyle 6
			text "@MENU_ROTATE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 240 280 90 90 0 0
			group "controls_thumbstick_set3"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move_turn"
			textscale 0.55
		}
		itemDef
		{
			rect 322 280 90 90 0 0
			group "controls_thumbstick_set3"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move_look"
			textscale 0.55
		}
		itemDef
		{
			rect 412 315 0 0 0 0
			group "controls_thumbstick_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 6
			text "@MENU_STRAFE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 367 375 0 0 0 0
			group "controls_thumbstick_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_LOOK_UP_DOWN"
		}
		itemDef
		{
			rect 285 375 0 0 0 0
			group "controls_thumbstick_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_MOVE_FORWARD_BACK"
		}
		itemDef
		{
			rect 235 315 0 0 0 0
			group "controls_thumbstick_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			textstyle 6
			text "@MENU_ROTATE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 240 280 90 90 0 0
			group "controls_thumbstick_set4"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move_look"
			textscale 0.55
		}
		itemDef
		{
			rect 322 280 90 90 0 0
			group "controls_thumbstick_set4"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move_turn"
			textscale 0.55
		}
		itemDef
		{
			rect 412 315 0 0 0 0
			group "controls_thumbstick_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 6
			text "@MENU_ROTATE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 367 375 0 0 0 0
			group "controls_thumbstick_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_MOVE_FORWARD_BACK"
		}
		itemDef
		{
			rect 285 375 0 0 0 0
			group "controls_thumbstick_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_LOOK_UP_DOWN"
		}
		itemDef
		{
			rect 235 315 0 0 0 0
			group "controls_thumbstick_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			textstyle 6
			text "@MENU_STRAFE_LEFT_RIGHT"
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_DEFAULT"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_default";
				close "thumbstick";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_thumbstick_set1";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_thumbstick_set1";
			}
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_SOUTHPAW"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_southpaw";
				close "thumbstick";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_thumbstick_set2";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_thumbstick_set2";
			}
		}
		itemDef
		{
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEGACY"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_legacy";
				close "thumbstick";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_thumbstick_set3";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_thumbstick_set3";
			}
		}
		itemDef
		{
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEGACY_SOUTHPAW"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_legacysouthpaw";
				close "thumbstick";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_thumbstick_set4";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_thumbstick_set4";
			}
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "buttons"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
			{
				setLocalVarBool "ui_buttons_page" ( 1 );
			}
			else
			{
				setLocalVarBool "ui_buttons_page" ( 0 );
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default" )
			{
				setfocus "buttons_1";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical" )
			{
				setfocus "buttons_2";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty" )
			{
				setfocus "buttons_3";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" )
			{
				setfocus "buttons_4";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" )
			{
				setfocus "buttons_5";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
			{
				setfocus "buttons_6";
			}
		}
		onEsc
		{
			close "buttons";
			open "controls";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_BUTTON_LAYOUT_CAP"
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ps3_controller_top"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set1"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set2"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set3"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set4"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set5"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set6"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			name "scoreboard"
			rect 279 180 38 15 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SCOREBOARD"
			visible when ( dvarbool( "ui_multiplayer" ) && !localvarbool( "ui_buttons_more_focused" ) )
		}
		itemDef
		{
			name "scoreboard"
			rect 279 180 38 15 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_NOT_USED"
			visible when ( !dvarbool( "ui_multiplayer" ) && !localvarbool( "ui_buttons_more_focused" ) )
		}
		itemDef
		{
			rect 459 348 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_JUMP"
		}
		itemDef
		{
			rect 454 303 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_CROUCH_PRONE"
		}
		itemDef
		{
			rect 458 326 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_RELOAD"
		}
		itemDef
		{
			rect 449 278 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SWITCH_WEAPON"
		}
		itemDef
		{
			rect 445 214 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_EQUIPMENT"
		}
		itemDef
		{
			rect 209 214 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_THROW_SPECIAL_GRENADE"
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 171 333 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 167 318 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 201 235 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_AIM_DOWN_SIGHT"
		}
		itemDef
		{
			rect 452 235 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_FIRE_WEAPON"
		}
		itemDef
		{
			rect 307 203 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_OBJECTIVES_MENU"
		}
		itemDef
		{
			rect 247 212 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 217 338 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_SPRINT_HOLD_BREATH"
		}
		itemDef
		{
			rect 327 394 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_MELEE_ATTACK"
		}
		itemDef
		{
			rect 459 348 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_JUMP"
		}
		itemDef
		{
			rect 454 303 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_MELEE_ATTACK"
		}
		itemDef
		{
			rect 458 326 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_RELOAD"
		}
		itemDef
		{
			rect 449 278 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SWITCH_WEAPON"
		}
		itemDef
		{
			rect 445 214 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_EQUIPMENT"
		}
		itemDef
		{
			rect 209 214 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_THROW_SPECIAL_GRENADE"
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 171 333 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 167 318 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 201 235 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_AIM_DOWN_SIGHT"
		}
		itemDef
		{
			rect 452 235 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_FIRE_WEAPON"
		}
		itemDef
		{
			rect 307 203 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_OBJECTIVES_MENU"
		}
		itemDef
		{
			rect 247 212 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 217 338 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_SPRINT_HOLD_BREATH"
		}
		itemDef
		{
			rect 327 394 0 0 0 0
			group "controls_buttons_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_CROUCH_PRONE"
		}
		itemDef
		{
			rect 459 348 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_JUMP"
		}
		itemDef
		{
			rect 454 303 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_CROUCH_PRONE"
		}
		itemDef
		{
			rect 458 326 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_RELOAD"
		}
		itemDef
		{
			rect 449 278 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SWITCH_WEAPON"
		}
		itemDef
		{
			rect 445 214 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_THROW_SPECIAL_GRENADE"
		}
		itemDef
		{
			rect 209 214 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_USE_EQUIPMENT"
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 171 333 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 167 318 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 201 235 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_FIRE_WEAPON"
		}
		itemDef
		{
			rect 452 235 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_AIM_DOWN_SIGHT"
		}
		itemDef
		{
			rect 307 203 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_OBJECTIVES_MENU"
		}
		itemDef
		{
			rect 247 212 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 217 338 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_MELEE_ATTACK"
		}
		itemDef
		{
			rect 327 394 0 0 0 0
			group "controls_buttons_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SPRINT_HOLD_BREATH"
		}
		itemDef
		{
			rect 459 348 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_JUMP"
		}
		itemDef
		{
			rect 454 303 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_CROUCH_PRONE"
		}
		itemDef
		{
			rect 458 326 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_RELOAD"
		}
		itemDef
		{
			rect 449 278 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SWITCH_WEAPON"
		}
		itemDef
		{
			rect 445 214 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_FIRE_WEAPON"
		}
		itemDef
		{
			rect 209 214 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_AIM_DOWN_SIGHT"
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 171 333 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 167 318 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 201 235 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_THROW_SPECIAL_GRENADE"
		}
		itemDef
		{
			rect 452 235 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_EQUIPMENT"
		}
		itemDef
		{
			rect 307 203 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_OBJECTIVES_MENU"
		}
		itemDef
		{
			rect 247 212 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 217 338 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_SPRINT_HOLD_BREATH"
		}
		itemDef
		{
			rect 327 394 0 0 0 0
			group "controls_buttons_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_MELEE_ATTACK"
		}
		itemDef
		{
			rect 459 348 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_JUMP"
		}
		itemDef
		{
			rect 454 303 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_MELEE_ATTACK"
		}
		itemDef
		{
			rect 458 326 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_RELOAD"
		}
		itemDef
		{
			rect 449 278 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SWITCH_WEAPON"
		}
		itemDef
		{
			rect 445 214 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_FIRE_WEAPON"
		}
		itemDef
		{
			rect 209 214 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_AIM_DOWN_SIGHT"
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 171 333 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 167 318 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 201 235 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_THROW_SPECIAL_GRENADE"
		}
		itemDef
		{
			rect 452 235 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_EQUIPMENT"
		}
		itemDef
		{
			rect 307 203 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_OBJECTIVES_MENU"
		}
		itemDef
		{
			rect 247 212 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 217 338 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_SPRINT_HOLD_BREATH"
		}
		itemDef
		{
			rect 327 394 0 0 0 0
			group "controls_buttons_set5"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_CROUCH_PRONE"
		}
		itemDef
		{
			rect 459 348 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_JUMP"
		}
		itemDef
		{
			rect 454 303 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_CROUCH_PRONE"
		}
		itemDef
		{
			rect 458 326 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_RELOAD"
		}
		itemDef
		{
			rect 449 278 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SWITCH_WEAPON"
		}
		itemDef
		{
			rect 445 214 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_AIM_DOWN_SIGHT"
		}
		itemDef
		{
			rect 209 214 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_FIRE_WEAPON"
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 171 333 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 175 300 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 167 318 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 201 235 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_USE_EQUIPMENT"
		}
		itemDef
		{
			rect 452 235 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_THROW_SPECIAL_GRENADE"
		}
		itemDef
		{
			rect 307 203 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_OBJECTIVES_MENU"
		}
		itemDef
		{
			rect 247 212 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 217 338 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_MELEE_ATTACK"
		}
		itemDef
		{
			rect 327 394 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SPRINT_HOLD_BREATH"
		}
		itemDef
		{
			name "buttons_1"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_DEFAULT"
			visible when ( localvarbool( "ui_buttons_page" ) == 0 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_default";
				close "buttons";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set1";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set1";
			}
		}
		itemDef
		{
			name "buttons_2"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_TACTICAL"
			visible when ( localvarbool( "ui_buttons_page" ) == 0 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_tactical";
				close "buttons";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set2";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set2";
			}
		}
		itemDef
		{
			name "buttons_3"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEFTY"
			visible when ( localvarbool( "ui_buttons_page" ) == 0 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_lefty";
				close "buttons";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set3";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set3";
			}
		}
		itemDef
		{
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_MORE"
			action
			{
				play "mouse_click";
				if ( localvarbool( "ui_buttons_page" ) )
				{
					setLocalVarBool "ui_buttons_page" ( 0 );
				}
				else
				{
					setLocalVarBool "ui_buttons_page" ( 1 );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarBool "ui_buttons_more_focused" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				setLocalVarBool "ui_buttons_more_focused" ( 0 );
			}
		}
		itemDef
		{
			name "buttons_4"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_DEFAULT_ALT"
			visible when ( localvarbool( "ui_buttons_page" ) == 1 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_default_alt";
				close "buttons";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set4";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set4";
			}
		}
		itemDef
		{
			name "buttons_5"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_TACTICAL_ALT"
			visible when ( localvarbool( "ui_buttons_page" ) == 1 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_tactical_alt";
				close "buttons";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set5";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set5";
			}
		}
		itemDef
		{
			name "buttons_6"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEFTY_ALT"
			visible when ( localvarbool( "ui_buttons_page" ) == 1 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_lefty_alt";
				close "buttons";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set6";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set6";
			}
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "sensitivity"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setfocus "sensitivity_custom";
		}
		onEsc
		{
			close "sensitivity";
			open "controls";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_SENSITIVITY_CAP"
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LOW"
			action
			{
				play "mouse_click";
				exec "exec viewSensitivity_low" close "sensitivity";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_MEDIUM"
			action
			{
				play "mouse_click";
				exec "exec viewSensitivity_med" close "sensitivity";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_HIGH"
			action
			{
				play "mouse_click";
				exec "exec viewSensitivity_high" close "sensitivity";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sensitivity_custom"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CUSTOM"
			action
			{
				play "mouse_click";
				close "sensitivity";
				open "sensitivity_custom";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "sensitivity_custom"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			if ( getprofiledata( "viewSensitivity" ) == 0.6 )
			{
				setfocus "sens_1";
			}
			if ( getprofiledata( "viewSensitivity" ) == 1 )
			{
				setfocus "sens_2";
			}
			if ( getprofiledata( "viewSensitivity" ) == 1.4 )
			{
				setfocus "sens_3";
			}
			if ( getprofiledata( "viewSensitivity" ) == 1.8 )
			{
				setfocus "sens_4";
			}
			if ( getprofiledata( "viewSensitivity" ) == 2 )
			{
				setfocus "sens_5";
			}
			if ( getprofiledata( "viewSensitivity" ) == 2.2 )
			{
				setfocus "sens_6";
			}
			if ( getprofiledata( "viewSensitivity" ) == 2.6 )
			{
				setfocus "sens_7";
			}
			if ( getprofiledata( "viewSensitivity" ) == 3 )
			{
				setfocus "sens_8";
			}
			if ( getprofiledata( "viewSensitivity" ) == 3.5 )
			{
				setfocus "sens_9";
			}
			if ( getprofiledata( "viewSensitivity" ) == 4 )
			{
				setfocus "sens_10";
			}
		}
		onEsc
		{
			close "sensitivity_custom";
			open "sensitivity";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect -64 0 280 480 1 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.1
			background "gradient_fadein_fadebottom"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_SENSITIVITY_CUSTOM_CAP"
		}
		itemDef
		{
			name "sens_1"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_LOW_N" , 1 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 0.6";
				close "sensitivity_custom";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_2"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_MEDIUM_N" , 2 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 1";
				close "sensitivity_custom";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_3"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 3 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 1.4";
				close "sensitivity_custom";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_4"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_HIGH_N" , 4 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 1.8";
				close "sensitivity_custom";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_5"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 5 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 2.0";
				close "sensitivity_custom";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 6 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 2.2";
				close "sensitivity_custom";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_7"
			rect -64 148 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_VERY_HIGH_N" , 7 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 2.6";
				close "sensitivity_custom";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_8"
			rect -64 168 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 8 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 3.0";
				close "sensitivity_custom";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_9"
			rect -64 188 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 9 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 3.5";
				close "sensitivity_custom";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_10"
			rect -64 208 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_INSANE_N" , 10 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 4.0";
				close "sensitivity_custom";
				open "controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "brightness"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		execKey "BUTTON_A"
		{
			if ( localvarbool( "ui_brightness_adjusted" ) )
			{
				close self;
			}
		}
		execKey "BUTTON_START"
		{
			if ( localvarbool( "ui_brightness_adjusted" ) )
			{
				close self;
			}
		}
		onOpen
		{
			execnow "profile_menuDvarsSetup; resetViewport";
			setLocalVarBool "ui_show_recommendation" ( 1 );
			setLocalVarBool "ui_brightness_adjusted" ( 0 );
		}
		onClose
		{
			execnow "profile_menuDvarsFinish; resetViewport";
			open "margin_horizontal";
		}
		onEsc
		{
			if ( localvarbool( "ui_brightness_adjusted" ) )
			{
				close self;
			}
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_background"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 1708 480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect 0 0 -1708 -480 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "mw2_main_cloud_overlay"
			textscale 0.55
			exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -427 -240 854 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_sp_image"
			textscale 0.55
			visible when ( dvarstring( "gameMode" ) == "sp" )
		}
		itemDef
		{
			rect -427 -240 854 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_co_image"
			textscale 0.55
			visible when ( dvarstring( "gameMode" ) == "so" )
		}
		itemDef
		{
			rect -427 -240 854 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mw2_main_mp_image"
			textscale 0.55
			visible when ( dvarstring( "gameMode" ) == "mp" )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_BRIGHTNESS_CAP"
		}
		itemDef
		{
			rect -88 36 -20 40 2 1
			group "safe_area_demo_lr"
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "summary_arrow"
			textscale 0.55
		}
		itemDef
		{
			rect 68 36 20 40 2 1
			group "safe_area_demo_lr"
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "summary_arrow"
			textscale 0.55
		}
		itemDef
		{
			name "slider_r_gamma"
			rect -160 48 320 20 2 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textalign 5
			textscale 0.55
			dvarFloat "profileMenuOption_blacklevel" 0 0.2 -0.4
			action
			{
				execnow "profile_menuDvarsFinish" ;;
				setLocalVarBool "ui_brightness_adjusted" ( 1 );
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_r_gamma" backcolor 0 0 0 1;
				setLocalVarString "ui_options_hint_text" ( "@MENU_BRIGHTNESS_DESC1" );
			}
			leaveFocus
			{
				setItemColor "button_r_gamma" backcolor 0 0 0 "0.0";
			}
		}
		itemDef
		{
			rect -160 368 320 20 2 1
			group "brightness_demo"
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			textstyle 3
			text "@PLATFORM_UI_PRESS_TO_CONTINUE"
			visible when ( localvarbool( "ui_brightness_adjusted" ) )
		}
		itemDef
		{
			rect -160 88 320 20 2 1
			group "brightness_demo"
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			textstyle 3
			text "@MENU_BRIGHTNESS_DESC1"
		}
		itemDef
		{
			rect -160 108 320 20 2 1
			group "brightness_demo"
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			textstyle 3
			text "@MENU_BRIGHTNESS_DESC2"
			visible when ( dvarbool( "hidef" ) )
		}
		itemDef
		{
			rect -150 154 285 60 2 1
			style 1
			decoration
			visible 1
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			textscale 0.55
			exp backcolor rgb ( ( ( ( 0.08 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
			exp material ( "white" )
		}
		itemDef
		{
			rect -150 214 285 60 2 1
			style 1
			decoration
			visible 1
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			textscale 0.55
			exp backcolor rgb ( ( ( ( 0.125 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
			exp material ( "white" )
		}
		itemDef
		{
			rect -150 274 285 60 2 1
			style 1
			decoration
			visible 1
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			textscale 0.55
			exp backcolor rgb ( ( ( ( 0.25 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
			exp material ( "white" )
		}
		itemDef
		{
			rect -150 154 300 60 2 1
			decoration
			visible 1
			forecolor 0 0 0 1
			type 1
			textfont 2
			textalign 9
			textscale 0.5833
			exp text ( "@MENU_BRIGHTNESS_NOT_VISIBLE" )
		}
		itemDef
		{
			rect -150 214 300 60 2 1
			decoration
			visible 1
			forecolor 0 0 0 1
			type 1
			textfont 2
			textalign 9
			textscale 0.5833
			exp text ( "@MENU_BRIGHTNESS_BARELY_VISIBLE" )
		}
		itemDef
		{
			rect -150 274 300 60 2 1
			decoration
			visible 1
			forecolor 0 0 0 1
			type 1
			textfont 2
			textalign 9
			textscale 0.5833
			exp text ( "@MENU_BRIGHTNESS_EASILY_VISIBLE" )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "popup_summary"
		rect -230 50 460 337 2 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		visible when ( !( menuisopen( "page_unlocks_titles" ) || menuisopen( "page_unlocks_emblems" ) || menuisopen( "page_unlocks_perks" ) || menuisopen( "page_unlocks_weapons" ) || menuisopen( "page_unlocks_features" ) ) )
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			if ( !( getclientmatchdatadef( ) != "" ) )
			{
				if ( dvarbool( "splitscreen" ) )
				{
					if ( splitscreenplayercount( ) >= 1 )
					{
						setPlayerDataSplitscreen( 0 , "round" , "awardCount" , 0 );
					}
					if ( splitscreenplayercount( ) >= 2 )
					{
						setPlayerDataSplitscreen( 1 , "round" , "awardCount" , 0 );
					}
					if ( splitscreenplayercount( ) >= 3 )
					{
						setPlayerDataSplitscreen( 2 , "round" , "awardCount" , 0 );
					}
					if ( splitscreenplayercount( ) >= 4 )
					{
						setPlayerDataSplitscreen( 3 , "round" , "awardCount" , 0 );
					}
				}
				else
				{
					setPlayerData( "round" , "awardCount" , 0 );
				}
				uiScript "clearClientMatchData";
			}
			if ( ( unlockeditemcount( "title" ) ) )
			{
				open "page_unlocks_titles";
			}
			else
			{
				if ( ( unlockeditemcount( "icon" ) ) )
				{
					open "page_unlocks_emblems";
				}
				else
				{
					if ( ( unlockeditemcount( "perk" ) ) )
					{
						open "page_unlocks_perks";
					}
					else
					{
						if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
						{
							open "page_unlocks_weapons";
						}
						else
						{
							if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
							{
								open "page_unlocks_features";
							}
							else
							{
								open "page_summary";
							}
						}
					}
				}
			}
			setLocalVarString "ui_scoreboardType" ( getplayerdata( "round" , "scoreboardType" ) );
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			close "page_unlocks_features";
			close "page_summary";
			close "page_progress";
			close "page_highlights";
			close "page_scoreboard";
		}
		onEsc
		{
			close self;
			close self;
		}
		itemDef
		{
			rect -1084 -430 3416 1920 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1084 -430 3416 1920 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -230 50 460 337 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -230 50 1708 480 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.4
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 460 0 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( 337 )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.4
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -294 -14 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 -14 460 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 -14 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 50 64 0 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( 337 )
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 50 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -294 50 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -294 50 64 0 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( 337 )
			visible when ( 1 )
		}
		itemDef
		{
			rect 125 363 100 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textalignx -1
			textscale 0.375
			exp text ( localvarstring( "ui_navbutton_a" ) )
		}
		itemDef
		{
			rect -268 154.5 -32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( localvarint( "ui_leftArrow" ) )
			exp material ( "summary_arrow" )
		}
		itemDef
		{
			rect 236 154.5 32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( localvarint( "ui_rightArrow" ) )
			exp material ( "summary_arrow" )
		}
		itemDef
		{
			rect -268 154.5 -32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 0.498039 0.498039 0.498039 1
			textscale 0.55
			exp forecolor a ( ( max( ( ( localvarint( "ui_switchTime" ) + 250 ) - milliseconds( ) , 0 ) ) / 250 ) )
			visible when ( localvarint( "ui_leftArrow" ) && ( localvarint( "ui_switchDir" ) == "-1" ) )
			exp material ( "summary_arrow" )
		}
		itemDef
		{
			rect 236 154.5 32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 0.498039 0.498039 0.498039 1
			textscale 0.55
			exp forecolor a ( ( max( ( ( localvarint( "ui_switchTime" ) + 250 ) - milliseconds( ) , 0 ) ) / 250 ) )
			visible when ( localvarint( "ui_rightArrow" ) && localvarint( "ui_switchDir" ) == 1 )
			exp material ( "summary_arrow" )
		}
	}
	menuDef
	{
		name "popup_summary_splitscreen"
		rect -230 50 460 337 2 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			open "page_summary_splitscreen";
			setLocalVarString "ui_scoreboardType" ( getplayerdatasplitscreen( 0 , "round" , "scoreboardType" ) );
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			close "page_summary_splitscreen";
			close "page_highlights_splitscreen";
			close "page_scoreboard_splitscreen";
		}
		onEsc
		{
			close self;
			close self;
		}
		itemDef
		{
			rect -1084 -430 3416 1920 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1084 -430 3416 1920 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -230 50 460 337 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -230 50 1708 480 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.4
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 460 0 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( 337 )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.4
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -294 -14 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 -14 460 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 -14 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 50 64 0 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( 337 )
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 50 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -294 50 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -294 50 64 0 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( 337 )
			visible when ( 1 )
		}
		itemDef
		{
			rect 125 363 100 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textalignx -1
			textscale 0.375
			exp text ( localvarstring( "ui_navbutton_a" ) )
		}
		itemDef
		{
			rect -268 154.5 -32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( localvarint( "ui_leftArrow" ) )
			exp material ( "summary_arrow" )
		}
		itemDef
		{
			rect 236 154.5 32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( localvarint( "ui_rightArrow" ) )
			exp material ( "summary_arrow" )
		}
		itemDef
		{
			rect -268 154.5 -32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 0.498039 0.498039 0.498039 1
			textscale 0.55
			exp forecolor a ( ( max( ( ( localvarint( "ui_switchTime" ) + 250 ) - milliseconds( ) , 0 ) ) / 250 ) )
			visible when ( localvarint( "ui_leftArrow" ) && ( localvarint( "ui_switchDir" ) == "-1" ) )
			exp material ( "summary_arrow" )
		}
		itemDef
		{
			rect 236 154.5 32 128 2 1
			style 3
			decoration
			visible 1
			forecolor 0.498039 0.498039 0.498039 1
			textscale 0.55
			exp forecolor a ( ( max( ( ( localvarint( "ui_switchTime" ) + 250 ) - milliseconds( ) , 0 ) ) / 250 ) )
			visible when ( localvarint( "ui_rightArrow" ) && localvarint( "ui_switchDir" ) == 1 )
			exp material ( "summary_arrow" )
		}
	}
	menuDef
	{
		name "page_summary"
		rect 0 50 460 337 2 1
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect x ( - ( 460 / 2 ) )
		execKey "BUTTON_RTRIG"
		{
			if ( "page_summary" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "BUTTON_RSHLDR"
		{
			if ( "page_summary" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "DPAD_RIGHT"
		{
			if ( "page_summary" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "APAD_RIGHT"
		{
			if ( "page_summary" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "BUTTON_A"
		{
			close self;
			close "popup_summary";
		}
		onOpen
		{
			setLocalVarString "ui_currentPage" ( "page_summary" );
			if ( "page_summary" == "page_summary" )
			{
				setLocalVarInt "ui_leftArrow" ( 0 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_summary" == "page_progress" || "page_summary" == "page_highlights" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_summary" == "page_scoreboard" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				setLocalVarInt "ui_rightArrow" ( 0 );
			}
			if ( localvarint( "ui_autoopened" ) )
			{
				play "mp_ingame_summary";
				setLocalVarInt "popup_summary_time_start" ( milliseconds( ) );
				setLocalVarInt "ui_autoopened" ( 0 );
			}
			setLocalVarString "ui_navbutton_a" ( "@PLATFORM_CLOSE_CAPS" );
		}
		onRequestClose
		{
		}
		onEsc
		{
			close self;
			close "popup_summary";
		}
		itemDef
		{
			rect 0 50 460 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MPUI_SUMMARY"
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( 28 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( 28 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 50 208 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 460 / 2 ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 28 ) + 10 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 460 / 2 ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 28 ) + 10 ) - 2 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 460 / 2 ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 28 ) + 10 ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 50 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 460 / 2 ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( ( 28 ) + 10 ) ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 50 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 460 / 2 ) - ( ( 208 ) / 2 ) ) + 158 )
			exp rect y ( ( ( ( 28 ) + 10 ) ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect -1280 160 4096 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect 10 160 440 10.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
		}
		itemDef
		{
			rect 10 160 440 10.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar"
			textscale 0.55
		}
		itemDef
		{
			rect 10 160 440 10.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar_solid"
			textscale 0.55
			exp rect x ( 10 - ( 660 / 1.5 ) * ( 1 - ( ( min( ( getplayerdata( "experience" ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) / ( ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 7 ) ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) , 0.9999 ) ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
		}
		itemDef
		{
			rect 10 160 440 10.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_xpfill"
			textscale 0.55
			exp rect x ( 10 - ( 660 / 1.5 ) * ( 1 - ( ( min( ( getplayerdata( "experience" ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) / ( ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 7 ) ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) , 0.9999 ) ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
		}
		itemDef
		{
			rect 10 160 440 10.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
		}
		itemDef
		{
			rect 10 139 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 30 139 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 14 ) )
		}
		itemDef
		{
			rect 414 139 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , ( levelforexperience( getplayerdata( "experience" ) ) + 1 ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 434 139 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			visible when ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) )
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , ( levelforexperience( getplayerdata( "experience" ) ) + 1 ) , 14 ) )
		}
		itemDef
		{
			rect 10 139 440 20 2 1
			decoration
			visible 1
			forecolor 1 1 0.498039 1
			textfont 10
			textalign 1
			textalignx 2
			textaligny 18
			textscale 0.3333
			textstyle 3
			visible when ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) )
			exp text ( locstring( "@MPUI_X_SLASH_Y_XP" , int( ( getplayerdata( "experience" ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) , int( ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 7 ) ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) ) )
		}
		itemDef
		{
			rect 10 198 440 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 1
			textaligny 18
			textscale 0.3333
			text "@MPUI_YOUR_TOP_HL"
			visible when ( getplayerdata( "round" , "awardCount" ) > 0 && getplayerdata( "round" , "awardCount" ) <= 3 )
		}
		itemDef
		{
			rect 10 198 440 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 1
			textaligny 18
			textscale 0.3333
			text "@MPUI_YOUR_TOP_3_HL"
			visible when ( getplayerdata( "round" , "awardCount" ) > 3 )
		}
		itemDef
		{
			rect -32 230 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 460 / 2 ) + ( ( 152 ) * 0 ) + ( ( 0 - ( 152 / 2 ) ) * ( getplayerdata( "round" , "awardCount" ) == 2 ) + ( 0 - 152 ) * ( getplayerdata( "round" , "awardCount" ) >= 3 ) ) - ( ( 96 / 1.5 ) / 2 ) )
			visible when ( ( 0 < getplayerdata( "round" , "awardCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getplayerdata( "round" , "awards" , 0 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect -68 318 136 -16 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalign 5
			textaligny -16
			textscale 0.35
			textstyle 3
			exp rect x ( ( 460 / 2 ) + ( ( 152 ) * 0 ) + ( ( 0 - ( 152 / 2 ) ) * ( getplayerdata( "round" , "awardCount" ) == 2 ) + ( 0 - 152 ) * ( getplayerdata( "round" , "awardCount" ) >= 3 ) ) - ( 136 / 2 ) )
			visible when ( ( 0 < getplayerdata( "round" , "awardCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdata( "round" , "awards" , 0 , "award" ) , 3 ) )
		}
		itemDef
		{
			rect -68 318 136 36 2 1
			decoration
			autowrapped
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 5
			textscale 0.35
			textstyle 3
			exp rect x ( ( 460 / 2 ) + ( ( 152 ) * 0 ) + ( ( 0 - ( 152 / 2 ) ) * ( getplayerdata( "round" , "awardCount" ) == 2 ) + ( 0 - 152 ) * ( getplayerdata( "round" , "awardCount" ) >= 3 ) ) - ( 136 / 2 ) )
			visible when ( ( 0 < getplayerdata( "round" , "awardCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdata( "round" , "awards" , 0 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect -32 230 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 460 / 2 ) + ( ( 152 ) * 1 ) + ( ( 0 - ( 152 / 2 ) ) * ( getplayerdata( "round" , "awardCount" ) == 2 ) + ( 0 - 152 ) * ( getplayerdata( "round" , "awardCount" ) >= 3 ) ) - ( ( 96 / 1.5 ) / 2 ) )
			visible when ( ( 1 < getplayerdata( "round" , "awardCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getplayerdata( "round" , "awards" , 1 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect -68 318 136 -16 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalign 5
			textaligny -16
			textscale 0.35
			textstyle 3
			exp rect x ( ( 460 / 2 ) + ( ( 152 ) * 1 ) + ( ( 0 - ( 152 / 2 ) ) * ( getplayerdata( "round" , "awardCount" ) == 2 ) + ( 0 - 152 ) * ( getplayerdata( "round" , "awardCount" ) >= 3 ) ) - ( 136 / 2 ) )
			visible when ( ( 1 < getplayerdata( "round" , "awardCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdata( "round" , "awards" , 1 , "award" ) , 3 ) )
		}
		itemDef
		{
			rect -68 318 136 36 2 1
			decoration
			autowrapped
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 5
			textscale 0.35
			textstyle 3
			exp rect x ( ( 460 / 2 ) + ( ( 152 ) * 1 ) + ( ( 0 - ( 152 / 2 ) ) * ( getplayerdata( "round" , "awardCount" ) == 2 ) + ( 0 - 152 ) * ( getplayerdata( "round" , "awardCount" ) >= 3 ) ) - ( 136 / 2 ) )
			visible when ( ( 1 < getplayerdata( "round" , "awardCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdata( "round" , "awards" , 1 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect -32 230 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 460 / 2 ) + ( ( 152 ) * 2 ) + ( ( 0 - ( 152 / 2 ) ) * ( getplayerdata( "round" , "awardCount" ) == 2 ) + ( 0 - 152 ) * ( getplayerdata( "round" , "awardCount" ) >= 3 ) ) - ( ( 96 / 1.5 ) / 2 ) )
			visible when ( ( 2 < getplayerdata( "round" , "awardCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getplayerdata( "round" , "awards" , 2 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect -68 318 136 -16 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalign 5
			textaligny -16
			textscale 0.35
			textstyle 3
			exp rect x ( ( 460 / 2 ) + ( ( 152 ) * 2 ) + ( ( 0 - ( 152 / 2 ) ) * ( getplayerdata( "round" , "awardCount" ) == 2 ) + ( 0 - 152 ) * ( getplayerdata( "round" , "awardCount" ) >= 3 ) ) - ( 136 / 2 ) )
			visible when ( ( 2 < getplayerdata( "round" , "awardCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdata( "round" , "awards" , 2 , "award" ) , 3 ) )
		}
		itemDef
		{
			rect -68 318 136 36 2 1
			decoration
			autowrapped
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 5
			textscale 0.35
			textstyle 3
			exp rect x ( ( 460 / 2 ) + ( ( 152 ) * 2 ) + ( ( 0 - ( 152 / 2 ) ) * ( getplayerdata( "round" , "awardCount" ) == 2 ) + ( 0 - 152 ) * ( getplayerdata( "round" , "awardCount" ) >= 3 ) ) - ( 136 / 2 ) )
			visible when ( ( 2 < getplayerdata( "round" , "awardCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdata( "round" , "awards" , 2 , "award" ) , 4 ) )
		}
	}
	menuDef
	{
		name "page_unlocks_features"
		rect -230 50 460 337 2 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		execKey "BUTTON_A"
		{
			close self;
		}
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			if ( localvarint( "ui_autoopened" ) )
			{
				play "new_feature_unlocks";
			}
			setLocalVarInt "ui_leftArrow" ( 0 );
			setLocalVarInt "ui_rightArrow" ( 0 );
			setLocalVarString "ui_navbutton_a" ( "@PLATFORM_CONTINUE_CAPS" );
			setLocalVarInt "ui_startFeature" ( 0 );
			setLocalVarInt "ui_startChallenge" ( unlockeditemcount( "feature" ) );
			if ( unlockeditem( "feature" , 0 ) == "challenges" || unlockeditem( "feature" , 1 ) == "challenges" || unlockeditem( "feature" , 2 ) == "challenges" || unlockeditem( "feature" , 3 ) == "challenges" || unlockeditem( "feature" , 4 ) == "challenges" || unlockeditem( "feature" , 5 ) == "challenges" || unlockeditem( "feature" , 6 ) == "challenges" || unlockeditem( "feature" , 7 ) == "challenges" )
			{
				setLocalVarBool "ui_showingChallengeFeature" ( 1 );
			}
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			if ( "page_unlocks_features" == "page_unlocks_titles" )
			{
				if ( ( unlockeditemcount( "icon" ) ) )
				{
					open "page_unlocks_emblems";
				}
				else
				{
					if ( ( unlockeditemcount( "perk" ) ) )
					{
						open "page_unlocks_perks";
					}
					else
					{
						if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
						{
							open "page_unlocks_weapons";
						}
						else
						{
							if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
							{
								open "page_unlocks_features";
							}
							else
							{
								open "page_summary";
							}
						}
					}
				}
			}
			if ( "page_unlocks_features" == "page_unlocks_emblems" )
			{
				if ( ( unlockeditemcount( "perk" ) ) )
				{
					open "page_unlocks_perks";
				}
				else
				{
					if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
					{
						open "page_unlocks_weapons";
					}
					else
					{
						if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
						{
							open "page_unlocks_features";
						}
						else
						{
							open "page_summary";
						}
					}
				}
			}
			if ( "page_unlocks_features" == "page_unlocks_perks" )
			{
				if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
				{
					open "page_unlocks_weapons";
				}
				else
				{
					if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
					{
						open "page_unlocks_features";
					}
					else
					{
						open "page_summary";
					}
				}
			}
			if ( "page_unlocks_features" == "page_unlocks_weapons" )
			{
				if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
				{
					open "page_unlocks_features";
				}
				else
				{
					open "page_summary";
				}
			}
			if ( "page_unlocks_features" == "page_unlocks_features" )
			{
				open "page_summary";
			}
			play "mouse_over";
		}
		onEsc
		{
			close self;
			close self;
		}
		itemDef
		{
			rect -1084 -430 3416 1920 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1084 -430 3416 1920 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -230 50 460 337 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -230 50 1708 480 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.4
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 460 0 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( 337 )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.4
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -294 -14 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 -14 460 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 -14 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 50 64 0 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( 337 )
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 50 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -294 50 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -294 50 64 0 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( 337 )
			visible when ( 1 )
		}
		itemDef
		{
			rect 125 363 100 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textalignx -1
			textscale 0.375
			exp text ( localvarstring( "ui_navbutton_a" ) )
		}
		itemDef
		{
			rect -230 50 460 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MPUI_FEATURE_UNLOCKS"
		}
		itemDef
		{
			rect -230 50 460 285 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( 28 )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 285 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( 28 )
			visible when ( 1 )
		}
		itemDef
		{
			rect -220 50 440 38 2 1
			style 3
			decoration
			visible 1
			forecolor 0.15 0.15 0.15 1
			background "white"
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 0 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 0 < ( unlockeditemcount( "feature" ) ) && ( ( 0 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
		}
		itemDef
		{
			rect -220 50 -440 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.125
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 0 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 0 < ( unlockeditemcount( "feature" ) ) && ( ( 0 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect -220 50 440 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 0 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 0 < ( unlockeditemcount( "feature" ) ) && ( ( 0 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/statstable.csv" , 4 , "feature_" + unlockeditem( "feature" , 0 ) , 3 ) ) )
		}
		itemDef
		{
			rect -202 50 422 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textaligny 18
			textscale 0.35
			textstyle 3
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 0 ) ) + ( ( 28 ) + 10 ) + 18 )
			visible when ( ( 0 < ( unlockeditemcount( "feature" ) ) && ( ( 0 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "feature_" + unlockeditem( "feature" , 0 ) , 7 ) )
		}
		itemDef
		{
			rect -220 50 440 38 2 1
			style 3
			decoration
			visible 1
			forecolor 0.15 0.15 0.15 1
			background "white"
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 1 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 1 < ( unlockeditemcount( "feature" ) ) && ( ( 1 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
		}
		itemDef
		{
			rect -220 50 -440 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.125
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 1 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 1 < ( unlockeditemcount( "feature" ) ) && ( ( 1 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect -220 50 440 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 1 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 1 < ( unlockeditemcount( "feature" ) ) && ( ( 1 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/statstable.csv" , 4 , "feature_" + unlockeditem( "feature" , 1 ) , 3 ) ) )
		}
		itemDef
		{
			rect -202 50 422 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textaligny 18
			textscale 0.35
			textstyle 3
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 1 ) ) + ( ( 28 ) + 10 ) + 18 )
			visible when ( ( 1 < ( unlockeditemcount( "feature" ) ) && ( ( 1 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "feature_" + unlockeditem( "feature" , 1 ) , 7 ) )
		}
		itemDef
		{
			rect -220 50 440 38 2 1
			style 3
			decoration
			visible 1
			forecolor 0.15 0.15 0.15 1
			background "white"
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 2 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 2 < ( unlockeditemcount( "feature" ) ) && ( ( 2 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
		}
		itemDef
		{
			rect -220 50 -440 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.125
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 2 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 2 < ( unlockeditemcount( "feature" ) ) && ( ( 2 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect -220 50 440 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 2 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 2 < ( unlockeditemcount( "feature" ) ) && ( ( 2 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/statstable.csv" , 4 , "feature_" + unlockeditem( "feature" , 2 ) , 3 ) ) )
		}
		itemDef
		{
			rect -202 50 422 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textaligny 18
			textscale 0.35
			textstyle 3
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 2 ) ) + ( ( 28 ) + 10 ) + 18 )
			visible when ( ( 2 < ( unlockeditemcount( "feature" ) ) && ( ( 2 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "feature_" + unlockeditem( "feature" , 2 ) , 7 ) )
		}
		itemDef
		{
			rect -220 50 440 38 2 1
			style 3
			decoration
			visible 1
			forecolor 0.15 0.15 0.15 1
			background "white"
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 3 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 3 < ( unlockeditemcount( "feature" ) ) && ( ( 3 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
		}
		itemDef
		{
			rect -220 50 -440 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.125
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 3 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 3 < ( unlockeditemcount( "feature" ) ) && ( ( 3 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect -220 50 440 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 3 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 3 < ( unlockeditemcount( "feature" ) ) && ( ( 3 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/statstable.csv" , 4 , "feature_" + unlockeditem( "feature" , 3 ) , 3 ) ) )
		}
		itemDef
		{
			rect -202 50 422 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textaligny 18
			textscale 0.35
			textstyle 3
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 3 ) ) + ( ( 28 ) + 10 ) + 18 )
			visible when ( ( 3 < ( unlockeditemcount( "feature" ) ) && ( ( 3 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "feature_" + unlockeditem( "feature" , 3 ) , 7 ) )
		}
		itemDef
		{
			rect -220 50 440 38 2 1
			style 3
			decoration
			visible 1
			forecolor 0.15 0.15 0.15 1
			background "white"
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 4 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 4 < ( unlockeditemcount( "feature" ) ) && ( ( 4 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
		}
		itemDef
		{
			rect -220 50 -440 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.125
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 4 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 4 < ( unlockeditemcount( "feature" ) ) && ( ( 4 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect -220 50 440 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 4 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 4 < ( unlockeditemcount( "feature" ) ) && ( ( 4 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/statstable.csv" , 4 , "feature_" + unlockeditem( "feature" , 4 ) , 3 ) ) )
		}
		itemDef
		{
			rect -202 50 422 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textaligny 18
			textscale 0.35
			textstyle 3
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 4 ) ) + ( ( 28 ) + 10 ) + 18 )
			visible when ( ( 4 < ( unlockeditemcount( "feature" ) ) && ( ( 4 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "feature_" + unlockeditem( "feature" , 4 ) , 7 ) )
		}
		itemDef
		{
			rect -220 50 440 38 2 1
			style 3
			decoration
			visible 1
			forecolor 0.15 0.15 0.15 1
			background "white"
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 5 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 5 < ( unlockeditemcount( "feature" ) ) && ( ( 5 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
		}
		itemDef
		{
			rect -220 50 -440 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.125
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 5 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 5 < ( unlockeditemcount( "feature" ) ) && ( ( 5 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect -220 50 440 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 5 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 5 < ( unlockeditemcount( "feature" ) ) && ( ( 5 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/statstable.csv" , 4 , "feature_" + unlockeditem( "feature" , 5 ) , 3 ) ) )
		}
		itemDef
		{
			rect -202 50 422 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textaligny 18
			textscale 0.35
			textstyle 3
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 5 ) ) + ( ( 28 ) + 10 ) + 18 )
			visible when ( ( 5 < ( unlockeditemcount( "feature" ) ) && ( ( 5 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "feature_" + unlockeditem( "feature" , 5 ) , 7 ) )
		}
		itemDef
		{
			rect -220 50 440 38 2 1
			style 3
			decoration
			visible 1
			forecolor 0.15 0.15 0.15 1
			background "white"
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 6 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 6 < ( unlockeditemcount( "feature" ) ) && ( ( 6 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
		}
		itemDef
		{
			rect -220 50 -440 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.125
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 6 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 6 < ( unlockeditemcount( "feature" ) ) && ( ( 6 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect -220 50 440 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 6 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 6 < ( unlockeditemcount( "feature" ) ) && ( ( 6 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/statstable.csv" , 4 , "feature_" + unlockeditem( "feature" , 6 ) , 3 ) ) )
		}
		itemDef
		{
			rect -202 50 422 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textaligny 18
			textscale 0.35
			textstyle 3
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 6 ) ) + ( ( 28 ) + 10 ) + 18 )
			visible when ( ( 6 < ( unlockeditemcount( "feature" ) ) && ( ( 6 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "feature_" + unlockeditem( "feature" , 6 ) , 7 ) )
		}
		itemDef
		{
			rect -220 50 440 38 2 1
			style 3
			decoration
			visible 1
			forecolor 0.15 0.15 0.15 1
			background "white"
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 7 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 7 < ( unlockeditemcount( "feature" ) ) && ( ( 7 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
		}
		itemDef
		{
			rect -220 50 -440 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.125
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 7 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 7 < ( unlockeditemcount( "feature" ) ) && ( ( 7 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect -220 50 440 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 7 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 7 < ( unlockeditemcount( "feature" ) ) && ( ( 7 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( locstring( "@" + tablelookup( "mp/statstable.csv" , 4 , "feature_" + unlockeditem( "feature" , 7 ) , 3 ) ) )
		}
		itemDef
		{
			rect -202 50 422 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textaligny 18
			textscale 0.35
			textstyle 3
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startFeature" ) ) + 7 ) ) + ( ( 28 ) + 10 ) + 18 )
			visible when ( ( 7 < ( unlockeditemcount( "feature" ) ) && ( ( 7 + ( localvarint( "ui_startFeature" ) ) ) < 8 ) ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , "feature_" + unlockeditem( "feature" , 7 ) , 7 ) )
		}
		itemDef
		{
			rect -220 50 440 38 2 1
			style 3
			decoration
			visible 1
			forecolor 0.15 0.15 0.15 1
			background "white"
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startChallenge" ) ) + 0 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 0 < ( unlockeditemcount( "challenge" ) ) && ( ( 0 + ( localvarint( "ui_startChallenge" ) ) ) < 8 ) && !localvarbool( "ui_showingChallengeFeature" ) ) )
		}
		itemDef
		{
			rect -220 50 -440 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.125
			textscale 0.55
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startChallenge" ) ) + 0 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 0 < ( unlockeditemcount( "challenge" ) ) && ( ( 0 + ( localvarint( "ui_startChallenge" ) ) ) < 8 ) && !localvarbool( "ui_showingChallengeFeature" ) ) )
			exp material ( "gradient_fadein" )
		}
		itemDef
		{
			rect -220 50 440 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			text "@MPUI_NEW_CHALLENGES"
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startChallenge" ) ) + 0 ) ) + ( ( 28 ) + 10 ) )
			visible when ( ( 0 < ( unlockeditemcount( "challenge" ) ) && ( ( 0 + ( localvarint( "ui_startChallenge" ) ) ) < 8 ) && !localvarbool( "ui_showingChallengeFeature" ) ) )
		}
		itemDef
		{
			rect -202 50 422 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textaligny 18
			textscale 0.35
			textstyle 3
			text "@MPUI_NEW_CHALLENGES_DESC"
			exp rect y ( ( ( 38 + 2 ) * ( ( localvarint( "ui_startChallenge" ) ) + 0 ) ) + ( ( 28 ) + 10 ) + 18 )
			visible when ( ( 0 < ( unlockeditemcount( "challenge" ) ) && ( ( 0 + ( localvarint( "ui_startChallenge" ) ) ) < 8 ) && !localvarbool( "ui_showingChallengeFeature" ) ) )
		}
		itemDef
		{
			rect -380 110 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( "Weapons:" )
		}
		itemDef
		{
			rect -380 110 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( unlockeditemcount( "weapon" ) )
		}
		itemDef
		{
			rect -380 130 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( "Attachments:" )
		}
		itemDef
		{
			rect -380 130 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( unlockeditemcount( "attachment" ) )
		}
		itemDef
		{
			rect -380 150 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( "Camos:" )
		}
		itemDef
		{
			rect -380 150 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( unlockeditemcount( "camo" ) )
		}
		itemDef
		{
			rect -380 170 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( "Features:" )
		}
		itemDef
		{
			rect -380 170 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( unlockeditemcount( "feature" ) )
		}
		itemDef
		{
			rect -380 190 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( "Perks:" )
		}
		itemDef
		{
			rect -380 190 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( unlockeditemcount( "perk" ) )
		}
		itemDef
		{
			rect -380 210 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( "Challenges:" )
		}
		itemDef
		{
			rect -380 210 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( "(" + unlockeditemcount( "challenge" ) + ")" + int( min( unlockeditemcount( "challenge" ) , 1 ) ) )
		}
		itemDef
		{
			rect -380 230 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( "Total:" )
		}
		itemDef
		{
			rect -380 230 100 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.35
			visible when ( dvarstring( "ui_debug_unlocks" ) != "" )
			exp text ( int( unlockeditemcount( "weapon" ) + unlockeditemcount( "attachment" ) + unlockeditemcount( "camo" ) + unlockeditemcount( "feature" ) + unlockeditemcount( "perk" ) + min( unlockeditemcount( "challenge" ) , 1 ) ) )
		}
	}
	menuDef
	{
		name "page_unlocks_titles"
		rect -150 -104 300 104 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			focusfirst;
			if ( localvarint( "ui_autoopened" ) )
			{
				play "new_title_unlocks";
			}
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			if ( "page_unlocks_titles" == "page_unlocks_titles" )
			{
				if ( ( unlockeditemcount( "icon" ) ) )
				{
					open "page_unlocks_emblems";
				}
				else
				{
					if ( ( unlockeditemcount( "perk" ) ) )
					{
						open "page_unlocks_perks";
					}
					else
					{
						if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
						{
							open "page_unlocks_weapons";
						}
						else
						{
							if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
							{
								open "page_unlocks_features";
							}
							else
							{
								open "page_summary";
							}
						}
					}
				}
			}
			if ( "page_unlocks_titles" == "page_unlocks_emblems" )
			{
				if ( ( unlockeditemcount( "perk" ) ) )
				{
					open "page_unlocks_perks";
				}
				else
				{
					if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
					{
						open "page_unlocks_weapons";
					}
					else
					{
						if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
						{
							open "page_unlocks_features";
						}
						else
						{
							open "page_summary";
						}
					}
				}
			}
			if ( "page_unlocks_titles" == "page_unlocks_perks" )
			{
				if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
				{
					open "page_unlocks_weapons";
				}
				else
				{
					if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
					{
						open "page_unlocks_features";
					}
					else
					{
						open "page_summary";
					}
				}
			}
			if ( "page_unlocks_titles" == "page_unlocks_weapons" )
			{
				if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
				{
					open "page_unlocks_features";
				}
				else
				{
					open "page_summary";
				}
			}
			if ( "page_unlocks_titles" == "page_unlocks_features" )
			{
				open "page_summary";
			}
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 300 104 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -214 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -168 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_NEW_TITLES"
			visible when ( unlockeditemcount( "title" ) > 1 )
		}
		itemDef
		{
			rect -150 -104 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_NEW_TITLE"
			visible when ( unlockeditemcount( "title" ) == 1 )
		}
		itemDef
		{
			rect -146 -80 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MPUI_NEW_TITLES_DESC"
			visible when ( unlockeditemcount( "title" ) > 1 )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -80 -72 160 32 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , 0 , 5 ) )
			visible when ( unlockeditemcount( "title" ) == 1 )
			exp text ( "@" + tablelookup( "mp/cardTitleTable.csv" , 0 , unlockeditem( "title" , 0 ) , 1 ) )
			exp material ( tablelookup( "mp/cardTitleTable.csv" , 0 , unlockeditem( "title" , 0 ) , 2 ) )
		}
		itemDef
		{
			name "popup_ok"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_OK"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -104 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "page_unlocks_emblems"
		rect -150 -104 300 104 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			focusfirst;
			if ( localvarint( "ui_autoopened" ) )
			{
				play "new_emblem_unlocks";
			}
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			if ( "page_unlocks_emblems" == "page_unlocks_titles" )
			{
				if ( ( unlockeditemcount( "icon" ) ) )
				{
					open "page_unlocks_emblems";
				}
				else
				{
					if ( ( unlockeditemcount( "perk" ) ) )
					{
						open "page_unlocks_perks";
					}
					else
					{
						if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
						{
							open "page_unlocks_weapons";
						}
						else
						{
							if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
							{
								open "page_unlocks_features";
							}
							else
							{
								open "page_summary";
							}
						}
					}
				}
			}
			if ( "page_unlocks_emblems" == "page_unlocks_emblems" )
			{
				if ( ( unlockeditemcount( "perk" ) ) )
				{
					open "page_unlocks_perks";
				}
				else
				{
					if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
					{
						open "page_unlocks_weapons";
					}
					else
					{
						if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
						{
							open "page_unlocks_features";
						}
						else
						{
							open "page_summary";
						}
					}
				}
			}
			if ( "page_unlocks_emblems" == "page_unlocks_perks" )
			{
				if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
				{
					open "page_unlocks_weapons";
				}
				else
				{
					if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
					{
						open "page_unlocks_features";
					}
					else
					{
						open "page_summary";
					}
				}
			}
			if ( "page_unlocks_emblems" == "page_unlocks_weapons" )
			{
				if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
				{
					open "page_unlocks_features";
				}
				else
				{
					open "page_summary";
				}
			}
			if ( "page_unlocks_emblems" == "page_unlocks_features" )
			{
				open "page_summary";
			}
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -584 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 300 104 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -104 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -104 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
		}
		itemDef
		{
			rect -214 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -168 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -168 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -104 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 4 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -104 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_NEW_ICONS"
			visible when ( unlockeditemcount( "icon" ) > 1 )
		}
		itemDef
		{
			rect -150 -104 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_NEW_ICON"
			visible when ( unlockeditemcount( "icon" ) == 1 )
		}
		itemDef
		{
			rect -146 -80 292 20 2 2
			group "mw2_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MPUI_NEW_ICONS_DESC"
			visible when ( unlockeditemcount( "icon" ) > 1 )
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -24 -80 48 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( unlockeditemcount( "icon" ) == 1 )
			exp material ( tablelookup( "mp/cardIconTable.csv" , 0 , unlockeditem( "icon" , 0 ) , 1 ) )
		}
		itemDef
		{
			name "popup_ok"
			rect -146 -20 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@MENU_OK"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -104 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "page_unlocks_perks"
		rect -230 50 460 337 2 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		execKey "BUTTON_A"
		{
			close self;
		}
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setLocalVarInt "ui_leftArrow" ( 0 );
			setLocalVarInt "ui_rightArrow" ( 0 );
			setLocalVarString "ui_navbutton_a" ( "@PLATFORM_CONTINUE_CAPS" );
			if ( localvarint( "ui_autoopened" ) )
			{
				play "new_perk_unlocks";
			}
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			if ( "page_unlocks_perks" == "page_unlocks_titles" )
			{
				if ( ( unlockeditemcount( "icon" ) ) )
				{
					open "page_unlocks_emblems";
				}
				else
				{
					if ( ( unlockeditemcount( "perk" ) ) )
					{
						open "page_unlocks_perks";
					}
					else
					{
						if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
						{
							open "page_unlocks_weapons";
						}
						else
						{
							if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
							{
								open "page_unlocks_features";
							}
							else
							{
								open "page_summary";
							}
						}
					}
				}
			}
			if ( "page_unlocks_perks" == "page_unlocks_emblems" )
			{
				if ( ( unlockeditemcount( "perk" ) ) )
				{
					open "page_unlocks_perks";
				}
				else
				{
					if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
					{
						open "page_unlocks_weapons";
					}
					else
					{
						if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
						{
							open "page_unlocks_features";
						}
						else
						{
							open "page_summary";
						}
					}
				}
			}
			if ( "page_unlocks_perks" == "page_unlocks_perks" )
			{
				if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
				{
					open "page_unlocks_weapons";
				}
				else
				{
					if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
					{
						open "page_unlocks_features";
					}
					else
					{
						open "page_summary";
					}
				}
			}
			if ( "page_unlocks_perks" == "page_unlocks_weapons" )
			{
				if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
				{
					open "page_unlocks_features";
				}
				else
				{
					open "page_summary";
				}
			}
			if ( "page_unlocks_perks" == "page_unlocks_features" )
			{
				open "page_summary";
			}
			play "mouse_over";
		}
		onEsc
		{
			close self;
			close self;
		}
		itemDef
		{
			rect -1084 -430 3416 1920 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1084 -430 3416 1920 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -230 50 460 337 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -230 50 1708 480 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.4
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 460 0 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( 337 )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.4
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -294 -14 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 -14 460 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 -14 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 50 64 0 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( 337 )
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 50 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -294 50 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( 337 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -294 50 64 0 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( 337 )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 102 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( 28 )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 102 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( 28 )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 172 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( 28 + 113 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 172 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( 28 + 113 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 125 363 100 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textalignx -1
			textscale 0.375
			exp text ( localvarstring( "ui_navbutton_a" ) )
		}
		itemDef
		{
			rect -230 50 460 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MPUI_PERK_UNLOCKS"
		}
		itemDef
		{
			rect -230 128 460 2 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient_line_separator"
			textscale 0.55
		}
		itemDef
		{
			rect -220 80 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk3" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 3 ) )
		}
		itemDef
		{
			rect -220 80 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk4" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 3 ) )
		}
		itemDef
		{
			rect -220 80 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "equipment" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 3 ) )
		}
		itemDef
		{
			rect -220 80 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "upgrade1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "upgrade2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "upgrade3" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 8 , unlockeditem( "perk" , 0 ) , 1 ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -172 80 392 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalignx 5
			textaligny 24
			textscale 0.375
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk3" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 2 ) )
		}
		itemDef
		{
			rect -172 80 392 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalignx 5
			textaligny 24
			textscale 0.375
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk4" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 2 ) )
		}
		itemDef
		{
			rect -172 80 392 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalignx 5
			textaligny 24
			textscale 0.375
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "equipment" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 2 ) )
		}
		itemDef
		{
			rect -172 80 392 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalignx 5
			textaligny 24
			textscale 0.375
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "upgrade1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "upgrade2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "upgrade3" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 8 , unlockeditem( "perk" , 0 ) , 1 ) , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 8 , unlockeditem( "perk" , 0 ) , 1 ) , 8 ) ) * ( 9 - 2 ) ) ) ) )
		}
		itemDef
		{
			rect -172 104 392 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.8
			textfont 1
			textalignx 5
			textaligny 16
			textscale 0.3333
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk3" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 4 ) )
		}
		itemDef
		{
			rect -172 104 392 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.8
			textfont 1
			textalignx 5
			textaligny 16
			textscale 0.3333
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "perk4" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 4 ) )
		}
		itemDef
		{
			rect -172 104 392 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.8
			textfont 1
			textalignx 5
			textaligny 16
			textscale 0.3333
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "equipment" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 4 ) )
		}
		itemDef
		{
			rect -172 104 392 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.8
			textfont 1
			textalignx 5
			textaligny 16
			textscale 0.3333
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "upgrade1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "upgrade2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 5 ) == "upgrade3" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 0 ) , 9 ) )
		}
		itemDef
		{
			rect -220 130 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk3" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 3 ) )
		}
		itemDef
		{
			rect -220 130 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk4" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 3 ) )
		}
		itemDef
		{
			rect -220 130 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "equipment" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 3 ) )
		}
		itemDef
		{
			rect -220 130 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "upgrade1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "upgrade2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "upgrade3" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 8 , unlockeditem( "perk" , 1 ) , 1 ) , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -172 130 392 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalignx 5
			textaligny 24
			textscale 0.375
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk3" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -172 130 392 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalignx 5
			textaligny 24
			textscale 0.375
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk4" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -172 130 392 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalignx 5
			textaligny 24
			textscale 0.375
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "equipment" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -172 130 392 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 9
			textalignx 5
			textaligny 24
			textscale 0.375
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "upgrade1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "upgrade2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "upgrade3" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 8 , unlockeditem( "perk" , 1 ) , 1 ) , int( 2 + ( isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , tablelookup( "mp/perkTable.csv" , 8 , unlockeditem( "perk" , 1 ) , 1 ) , 8 ) ) * ( 9 - 2 ) ) ) ) )
		}
		itemDef
		{
			rect -172 154 392 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.8
			textfont 1
			textalignx 5
			textaligny 16
			textscale 0.3333
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk3" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 4 ) )
		}
		itemDef
		{
			rect -172 154 392 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.8
			textfont 1
			textalignx 5
			textaligny 16
			textscale 0.3333
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "perk4" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 4 ) )
		}
		itemDef
		{
			rect -172 154 392 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.8
			textfont 1
			textalignx 5
			textaligny 16
			textscale 0.3333
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "equipment" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 4 ) )
		}
		itemDef
		{
			rect -172 154 392 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.8
			textfont 1
			textalignx 5
			textaligny 16
			textscale 0.3333
			textstyle 3
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "upgrade1" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "upgrade2" || tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 5 ) == "upgrade3" ) )
			exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , unlockeditem( "perk" , 1 ) , 9 ) )
		}
		itemDef
		{
			rect -220 193 440 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "line_horizontal"
			textfont 9
			textaligny 16
			textscale 0.3333
			text "@MENU_PERK1_CAPS"
			visible when ( 1 )
		}
		itemDef
		{
			rect -220 227 440 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "line_horizontal"
			textfont 9
			textaligny 16
			textscale 0.3333
			text "@MENU_PERK2_CAPS"
			visible when ( 1 )
		}
		itemDef
		{
			rect -220 261 440 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "line_horizontal"
			textfont 9
			textaligny 16
			textscale 0.3333
			text "@MENU_PERK3_CAPS"
			visible when ( 1 )
		}
		itemDef
		{
			rect -220 295 440 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "line_horizontal"
			textfont 9
			textaligny 16
			textscale 0.3333
			text "@MENU_DEATHSTREAK_CAPS"
			visible when ( 1 )
		}
		itemDef
		{
			rect -220 329 440 32 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "line_horizontal"
			textfont 9
			textaligny 16
			textscale 0.3333
			text "@MENU_EQUIPMENT_CAPS"
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 225 460 2 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient_line_separator"
			textscale 0.55
		}
		itemDef
		{
			rect -230 259 460 2 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient_line_separator"
			textscale 0.55
		}
		itemDef
		{
			rect -230 293 460 2 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient_line_separator"
			textscale 0.55
		}
		itemDef
		{
			rect -230 327 460 2 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient_line_separator"
			textscale 0.55
		}
		itemDef
		{
			rect -80 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_marathon" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 3 ) )
		}
		itemDef
		{
			rect -80 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_marathon" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 3 ) )
		}
		itemDef
		{
			rect -80 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -91.5 201.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 1 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 2 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 3 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 4 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 5 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 6 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 7 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 8 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 9 ) == "specialty_marathon" ) ) )
		}
		itemDef
		{
			rect -84 209 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 1 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 2 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 3 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 4 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 5 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 6 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 7 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 8 ) == "specialty_marathon" ) || ( unlockeditem( "perk" , 9 ) == "specialty_marathon" ) ) )
		}
		itemDef
		{
			rect -91.5 201.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) ) )
		}
		itemDef
		{
			rect -84 209 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_marathon" , 8 ) ) ) )
		}
		itemDef
		{
			rect -36 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_fastreload" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 3 ) )
		}
		itemDef
		{
			rect -36 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_fastreload" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 3 ) )
		}
		itemDef
		{
			rect -36 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -47.5 201.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 1 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 2 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 3 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 4 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 5 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 6 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 7 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 8 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 9 ) == "specialty_fastreload" ) ) )
		}
		itemDef
		{
			rect -40 209 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 1 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 2 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 3 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 4 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 5 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 6 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 7 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 8 ) == "specialty_fastreload" ) || ( unlockeditem( "perk" , 9 ) == "specialty_fastreload" ) ) )
		}
		itemDef
		{
			rect -47.5 201.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) ) )
		}
		itemDef
		{
			rect -40 209 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_fastreload" , 8 ) ) ) )
		}
		itemDef
		{
			rect 8 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_scavenger" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 3 ) )
		}
		itemDef
		{
			rect 8 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_scavenger" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 3 ) )
		}
		itemDef
		{
			rect 8 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -3.5 201.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 1 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 2 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 3 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 4 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 5 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 6 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 7 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 8 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 9 ) == "specialty_scavenger" ) ) )
		}
		itemDef
		{
			rect 4 209 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 1 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 2 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 3 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 4 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 5 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 6 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 7 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 8 ) == "specialty_scavenger" ) || ( unlockeditem( "perk" , 9 ) == "specialty_scavenger" ) ) )
		}
		itemDef
		{
			rect -3.5 201.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) ) )
		}
		itemDef
		{
			rect 4 209 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_scavenger" , 8 ) ) ) )
		}
		itemDef
		{
			rect 52 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_bling" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 3 ) )
		}
		itemDef
		{
			rect 52 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_bling" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 3 ) )
		}
		itemDef
		{
			rect 52 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 40.5 201.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 1 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 2 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 3 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 4 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 5 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 6 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 7 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 8 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 9 ) == "specialty_bling" ) ) )
		}
		itemDef
		{
			rect 48 209 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 1 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 2 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 3 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 4 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 5 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 6 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 7 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 8 ) == "specialty_bling" ) || ( unlockeditem( "perk" , 9 ) == "specialty_bling" ) ) )
		}
		itemDef
		{
			rect 40.5 201.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) ) )
		}
		itemDef
		{
			rect 48 209 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bling" , 8 ) ) ) )
		}
		itemDef
		{
			rect 96 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_onemanarmy" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 3 ) )
		}
		itemDef
		{
			rect 96 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_onemanarmy" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 3 ) )
		}
		itemDef
		{
			rect 96 193 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 84.5 201.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 1 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 2 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 3 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 4 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 5 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 6 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 7 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 8 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 9 ) == "specialty_onemanarmy" ) ) )
		}
		itemDef
		{
			rect 92 209 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 1 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 2 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 3 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 4 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 5 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 6 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 7 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 8 ) == "specialty_onemanarmy" ) || ( unlockeditem( "perk" , 9 ) == "specialty_onemanarmy" ) ) )
		}
		itemDef
		{
			rect 84.5 201.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) ) )
		}
		itemDef
		{
			rect 92 209 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_onemanarmy" , 8 ) ) ) )
		}
		itemDef
		{
			rect -80 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_bulletdamage" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 3 ) )
		}
		itemDef
		{
			rect -80 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_bulletdamage" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 3 ) )
		}
		itemDef
		{
			rect -80 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -91.5 235.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 1 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 2 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 3 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 4 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 5 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 6 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 7 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 8 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 9 ) == "specialty_bulletdamage" ) ) )
		}
		itemDef
		{
			rect -84 243 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 1 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 2 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 3 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 4 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 5 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 6 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 7 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 8 ) == "specialty_bulletdamage" ) || ( unlockeditem( "perk" , 9 ) == "specialty_bulletdamage" ) ) )
		}
		itemDef
		{
			rect -91.5 235.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) ) )
		}
		itemDef
		{
			rect -84 243 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletdamage" , 8 ) ) ) )
		}
		itemDef
		{
			rect -36 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_lightweight" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 3 ) )
		}
		itemDef
		{
			rect -36 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_lightweight" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 3 ) )
		}
		itemDef
		{
			rect -36 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -47.5 235.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 1 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 2 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 3 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 4 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 5 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 6 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 7 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 8 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 9 ) == "specialty_lightweight" ) ) )
		}
		itemDef
		{
			rect -40 243 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 1 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 2 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 3 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 4 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 5 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 6 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 7 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 8 ) == "specialty_lightweight" ) || ( unlockeditem( "perk" , 9 ) == "specialty_lightweight" ) ) )
		}
		itemDef
		{
			rect -47.5 235.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) ) )
		}
		itemDef
		{
			rect -40 243 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_lightweight" , 8 ) ) ) )
		}
		itemDef
		{
			rect 8 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_hardline" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 3 ) )
		}
		itemDef
		{
			rect 8 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_hardline" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 3 ) )
		}
		itemDef
		{
			rect 8 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -3.5 235.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 1 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 2 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 3 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 4 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 5 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 6 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 7 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 8 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 9 ) == "specialty_hardline" ) ) )
		}
		itemDef
		{
			rect 4 243 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 1 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 2 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 3 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 4 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 5 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 6 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 7 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 8 ) == "specialty_hardline" ) || ( unlockeditem( "perk" , 9 ) == "specialty_hardline" ) ) )
		}
		itemDef
		{
			rect -3.5 235.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) ) )
		}
		itemDef
		{
			rect 4 243 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_hardline" , 8 ) ) ) )
		}
		itemDef
		{
			rect 52 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_coldblooded" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 3 ) )
		}
		itemDef
		{
			rect 52 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_coldblooded" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 3 ) )
		}
		itemDef
		{
			rect 52 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 40.5 235.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 1 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 2 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 3 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 4 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 5 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 6 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 7 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 8 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 9 ) == "specialty_coldblooded" ) ) )
		}
		itemDef
		{
			rect 48 243 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 1 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 2 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 3 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 4 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 5 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 6 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 7 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 8 ) == "specialty_coldblooded" ) || ( unlockeditem( "perk" , 9 ) == "specialty_coldblooded" ) ) )
		}
		itemDef
		{
			rect 40.5 235.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) ) )
		}
		itemDef
		{
			rect 48 243 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_coldblooded" , 8 ) ) ) )
		}
		itemDef
		{
			rect 96 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_explosivedamage" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 3 ) )
		}
		itemDef
		{
			rect 96 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_explosivedamage" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 3 ) )
		}
		itemDef
		{
			rect 96 227 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 84.5 235.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 1 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 2 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 3 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 4 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 5 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 6 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 7 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 8 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 9 ) == "specialty_explosivedamage" ) ) )
		}
		itemDef
		{
			rect 92 243 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 1 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 2 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 3 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 4 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 5 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 6 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 7 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 8 ) == "specialty_explosivedamage" ) || ( unlockeditem( "perk" , 9 ) == "specialty_explosivedamage" ) ) )
		}
		itemDef
		{
			rect 84.5 235.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) ) )
		}
		itemDef
		{
			rect 92 243 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_explosivedamage" , 8 ) ) ) )
		}
		itemDef
		{
			rect -80 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_extendedmelee" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 3 ) )
		}
		itemDef
		{
			rect -80 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_extendedmelee" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 3 ) )
		}
		itemDef
		{
			rect -80 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -91.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 1 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 2 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 3 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 4 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 5 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 6 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 7 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 8 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 9 ) == "specialty_extendedmelee" ) ) )
		}
		itemDef
		{
			rect -84 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 1 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 2 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 3 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 4 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 5 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 6 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 7 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 8 ) == "specialty_extendedmelee" ) || ( unlockeditem( "perk" , 9 ) == "specialty_extendedmelee" ) ) )
		}
		itemDef
		{
			rect -91.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) ) )
		}
		itemDef
		{
			rect -84 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_extendedmelee" , 8 ) ) ) )
		}
		itemDef
		{
			rect -36 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_bulletaccuracy" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 3 ) )
		}
		itemDef
		{
			rect -36 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_bulletaccuracy" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 3 ) )
		}
		itemDef
		{
			rect -36 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -47.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 1 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 2 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 3 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 4 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 5 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 6 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 7 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 8 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 9 ) == "specialty_bulletaccuracy" ) ) )
		}
		itemDef
		{
			rect -40 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 1 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 2 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 3 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 4 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 5 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 6 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 7 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 8 ) == "specialty_bulletaccuracy" ) || ( unlockeditem( "perk" , 9 ) == "specialty_bulletaccuracy" ) ) )
		}
		itemDef
		{
			rect -47.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) ) )
		}
		itemDef
		{
			rect -40 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_bulletaccuracy" , 8 ) ) ) )
		}
		itemDef
		{
			rect 8 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_localjammer" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 3 ) )
		}
		itemDef
		{
			rect 8 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_localjammer" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 3 ) )
		}
		itemDef
		{
			rect 8 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -3.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 1 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 2 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 3 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 4 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 5 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 6 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 7 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 8 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 9 ) == "specialty_localjammer" ) ) )
		}
		itemDef
		{
			rect 4 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 1 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 2 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 3 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 4 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 5 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 6 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 7 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 8 ) == "specialty_localjammer" ) || ( unlockeditem( "perk" , 9 ) == "specialty_localjammer" ) ) )
		}
		itemDef
		{
			rect -3.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) ) )
		}
		itemDef
		{
			rect 4 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_localjammer" , 8 ) ) ) )
		}
		itemDef
		{
			rect 52 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_heartbreaker" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 3 ) )
		}
		itemDef
		{
			rect 52 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_heartbreaker" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 3 ) )
		}
		itemDef
		{
			rect 52 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 40.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 1 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 2 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 3 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 4 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 5 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 6 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 7 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 8 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 9 ) == "specialty_heartbreaker" ) ) )
		}
		itemDef
		{
			rect 48 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 1 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 2 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 3 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 4 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 5 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 6 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 7 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 8 ) == "specialty_heartbreaker" ) || ( unlockeditem( "perk" , 9 ) == "specialty_heartbreaker" ) ) )
		}
		itemDef
		{
			rect 40.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) ) )
		}
		itemDef
		{
			rect 48 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_heartbreaker" , 8 ) ) ) )
		}
		itemDef
		{
			rect 96 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_detectexplosive" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 3 ) )
		}
		itemDef
		{
			rect 96 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_detectexplosive" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 3 ) )
		}
		itemDef
		{
			rect 96 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 84.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 1 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 2 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 3 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 4 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 5 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 6 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 7 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 8 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 9 ) == "specialty_detectexplosive" ) ) )
		}
		itemDef
		{
			rect 92 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 1 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 2 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 3 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 4 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 5 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 6 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 7 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 8 ) == "specialty_detectexplosive" ) || ( unlockeditem( "perk" , 9 ) == "specialty_detectexplosive" ) ) )
		}
		itemDef
		{
			rect 84.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) ) )
		}
		itemDef
		{
			rect 92 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_detectexplosive" , 8 ) ) ) )
		}
		itemDef
		{
			rect 140 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_pistoldeath" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 3 ) )
		}
		itemDef
		{
			rect 140 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_pistoldeath" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 3 ) )
		}
		itemDef
		{
			rect 140 261 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 128.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 1 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 2 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 3 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 4 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 5 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 6 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 7 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 8 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 9 ) == "specialty_pistoldeath" ) ) )
		}
		itemDef
		{
			rect 136 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 1 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 2 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 3 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 4 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 5 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 6 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 7 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 8 ) == "specialty_pistoldeath" ) || ( unlockeditem( "perk" , 9 ) == "specialty_pistoldeath" ) ) )
		}
		itemDef
		{
			rect 128.5 269.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) ) )
		}
		itemDef
		{
			rect 136 277 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_pistoldeath" , 8 ) ) ) )
		}
		itemDef
		{
			rect -80 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_copycat" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 3 ) )
		}
		itemDef
		{
			rect -80 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_copycat" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 3 ) )
		}
		itemDef
		{
			rect -80 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -91.5 303.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 1 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 2 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 3 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 4 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 5 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 6 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 7 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 8 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 9 ) == "specialty_copycat" ) ) )
		}
		itemDef
		{
			rect -84 311 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 1 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 2 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 3 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 4 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 5 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 6 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 7 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 8 ) == "specialty_copycat" ) || ( unlockeditem( "perk" , 9 ) == "specialty_copycat" ) ) )
		}
		itemDef
		{
			rect -91.5 303.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) ) )
		}
		itemDef
		{
			rect -84 311 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_copycat" , 8 ) ) ) )
		}
		itemDef
		{
			rect -36 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_combathigh" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 3 ) )
		}
		itemDef
		{
			rect -36 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_combathigh" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 3 ) )
		}
		itemDef
		{
			rect -36 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -47.5 303.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 1 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 2 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 3 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 4 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 5 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 6 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 7 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 8 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 9 ) == "specialty_combathigh" ) ) )
		}
		itemDef
		{
			rect -40 311 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 1 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 2 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 3 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 4 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 5 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 6 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 7 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 8 ) == "specialty_combathigh" ) || ( unlockeditem( "perk" , 9 ) == "specialty_combathigh" ) ) )
		}
		itemDef
		{
			rect -47.5 303.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) ) )
		}
		itemDef
		{
			rect -40 311 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_combathigh" , 8 ) ) ) )
		}
		itemDef
		{
			rect 8 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_grenadepulldeath" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 3 ) )
		}
		itemDef
		{
			rect 8 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_grenadepulldeath" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 3 ) )
		}
		itemDef
		{
			rect 8 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -3.5 303.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 1 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 2 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 3 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 4 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 5 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 6 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 7 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 8 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 9 ) == "specialty_grenadepulldeath" ) ) )
		}
		itemDef
		{
			rect 4 311 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 1 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 2 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 3 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 4 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 5 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 6 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 7 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 8 ) == "specialty_grenadepulldeath" ) || ( unlockeditem( "perk" , 9 ) == "specialty_grenadepulldeath" ) ) )
		}
		itemDef
		{
			rect -3.5 303.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) ) )
		}
		itemDef
		{
			rect 4 311 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_grenadepulldeath" , 8 ) ) ) )
		}
		itemDef
		{
			rect 52 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_finalstand" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 3 ) )
		}
		itemDef
		{
			rect 52 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_finalstand" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 3 ) )
		}
		itemDef
		{
			rect 52 295 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 40.5 303.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 1 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 2 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 3 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 4 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 5 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 6 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 7 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 8 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 9 ) == "specialty_finalstand" ) ) )
		}
		itemDef
		{
			rect 48 311 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 1 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 2 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 3 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 4 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 5 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 6 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 7 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 8 ) == "specialty_finalstand" ) || ( unlockeditem( "perk" , 9 ) == "specialty_finalstand" ) ) )
		}
		itemDef
		{
			rect 40.5 303.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) ) )
		}
		itemDef
		{
			rect 48 311 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_finalstand" , 8 ) ) ) )
		}
		itemDef
		{
			rect -80 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "frag_grenade_mp" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 3 ) )
		}
		itemDef
		{
			rect -80 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "frag_grenade_mp" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 3 ) )
		}
		itemDef
		{
			rect -80 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -91.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 1 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 2 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 3 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 4 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 5 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 6 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 7 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 8 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 9 ) == "frag_grenade_mp" ) ) )
		}
		itemDef
		{
			rect -84 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 1 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 2 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 3 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 4 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 5 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 6 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 7 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 8 ) == "frag_grenade_mp" ) || ( unlockeditem( "perk" , 9 ) == "frag_grenade_mp" ) ) )
		}
		itemDef
		{
			rect -91.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect -84 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect -36 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "semtex_mp" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 3 ) )
		}
		itemDef
		{
			rect -36 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "semtex_mp" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 3 ) )
		}
		itemDef
		{
			rect -36 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -47.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 1 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 2 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 3 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 4 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 5 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 6 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 7 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 8 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 9 ) == "semtex_mp" ) ) )
		}
		itemDef
		{
			rect -40 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 1 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 2 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 3 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 4 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 5 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 6 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 7 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 8 ) == "semtex_mp" ) || ( unlockeditem( "perk" , 9 ) == "semtex_mp" ) ) )
		}
		itemDef
		{
			rect -47.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect -40 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 8 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "throwingknife_mp" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 3 ) )
		}
		itemDef
		{
			rect 8 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "throwingknife_mp" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 3 ) )
		}
		itemDef
		{
			rect 8 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect -3.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 1 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 2 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 3 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 4 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 5 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 6 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 7 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 8 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 9 ) == "throwingknife_mp" ) ) )
		}
		itemDef
		{
			rect 4 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 1 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 2 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 3 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 4 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 5 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 6 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 7 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 8 ) == "throwingknife_mp" ) || ( unlockeditem( "perk" , 9 ) == "throwingknife_mp" ) ) )
		}
		itemDef
		{
			rect -3.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 4 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 52 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_tacticalinsertion" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 3 ) )
		}
		itemDef
		{
			rect 52 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_tacticalinsertion" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 3 ) )
		}
		itemDef
		{
			rect 52 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 40.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 1 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 2 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 3 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 4 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 5 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 6 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 7 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 8 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 9 ) == "specialty_tacticalinsertion" ) ) )
		}
		itemDef
		{
			rect 48 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 1 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 2 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 3 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 4 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 5 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 6 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 7 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 8 ) == "specialty_tacticalinsertion" ) || ( unlockeditem( "perk" , 9 ) == "specialty_tacticalinsertion" ) ) )
		}
		itemDef
		{
			rect 40.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) )
		}
		itemDef
		{
			rect 48 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) )
		}
		itemDef
		{
			rect 96 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "specialty_blastshield" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 3 ) )
		}
		itemDef
		{
			rect 96 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "specialty_blastshield" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 3 ) )
		}
		itemDef
		{
			rect 96 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 84.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 1 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 2 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 3 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 4 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 5 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 6 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 7 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 8 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 9 ) == "specialty_blastshield" ) ) )
		}
		itemDef
		{
			rect 92 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 1 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 2 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 3 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 4 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 5 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 6 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 7 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 8 ) == "specialty_blastshield" ) || ( unlockeditem( "perk" , 9 ) == "specialty_blastshield" ) ) )
		}
		itemDef
		{
			rect 84.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) )
		}
		itemDef
		{
			rect 92 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) )
		}
		itemDef
		{
			rect 140 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "claymore_mp" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 3 ) )
		}
		itemDef
		{
			rect 140 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "claymore_mp" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 3 ) )
		}
		itemDef
		{
			rect 140 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 128.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 1 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 2 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 3 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 4 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 5 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 6 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 7 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 8 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 9 ) == "claymore_mp" ) ) )
		}
		itemDef
		{
			rect 136 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 1 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 2 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 3 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 4 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 5 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 6 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 7 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 8 ) == "claymore_mp" ) || ( unlockeditem( "perk" , 9 ) == "claymore_mp" ) ) )
		}
		itemDef
		{
			rect 128.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 136 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 184 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 0.5
			textscale 0.55
			visible when ( !isitemunlocked( "c4_mp" ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 3 ) )
		}
		itemDef
		{
			rect 184 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( isitemunlocked( "c4_mp" ) && !( tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 3 ) )
		}
		itemDef
		{
			rect 184 329 32 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 3 ) + "_upgrade" )
		}
		itemDef
		{
			rect 172.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "c4_mp" ) || ( unlockeditem( "perk" , 1 ) == "c4_mp" ) || ( unlockeditem( "perk" , 2 ) == "c4_mp" ) || ( unlockeditem( "perk" , 3 ) == "c4_mp" ) || ( unlockeditem( "perk" , 4 ) == "c4_mp" ) || ( unlockeditem( "perk" , 5 ) == "c4_mp" ) || ( unlockeditem( "perk" , 6 ) == "c4_mp" ) || ( unlockeditem( "perk" , 7 ) == "c4_mp" ) || ( unlockeditem( "perk" , 8 ) == "c4_mp" ) || ( unlockeditem( "perk" , 9 ) == "c4_mp" ) ) )
		}
		itemDef
		{
			rect 180 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == "c4_mp" ) || ( unlockeditem( "perk" , 1 ) == "c4_mp" ) || ( unlockeditem( "perk" , 2 ) == "c4_mp" ) || ( unlockeditem( "perk" , 3 ) == "c4_mp" ) || ( unlockeditem( "perk" , 4 ) == "c4_mp" ) || ( unlockeditem( "perk" , 5 ) == "c4_mp" ) || ( unlockeditem( "perk" , 6 ) == "c4_mp" ) || ( unlockeditem( "perk" , 7 ) == "c4_mp" ) || ( unlockeditem( "perk" , 8 ) == "c4_mp" ) || ( unlockeditem( "perk" , 9 ) == "c4_mp" ) ) )
		}
		itemDef
		{
			rect 172.5 337.5 55 35 2 1
			style 3
			decoration
			visible 1
			forecolor 0.25 1 0.45 1
			background "highlight_selected"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) )
		}
		itemDef
		{
			rect 180 345 40 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new_bg"
			textscale 0.55
			visible when ( ( ( unlockeditem( "perk" , 0 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 1 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 2 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 3 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 4 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 5 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 6 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 7 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 8 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) || ( unlockeditem( "perk" , 9 ) == tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) )
		}
	}
	menuDef
	{
		name "page_unlocks_weapons"
		rect -230 50 460 337 2 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 0
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		execKey "BUTTON_A"
		{
			close self;
		}
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			setLocalVarInt "ui_leftArrow" ( 0 );
			setLocalVarInt "ui_rightArrow" ( 0 );
			setLocalVarInt "ui_CamoHeight" ( ( unlockeditemcount( "camo" ) > 0 ) * ( ( 18 + 48 ) + 5 ) );
			setLocalVarInt "ui_AttachmentHeight" ( ( unlockeditemcount( "attachment" ) > 0 ) * ( ( 18 + 48 ) + 5 ) );
			setLocalVarInt "ui_WeaponHeight" ( ( unlockeditemcount( "weapon" ) > 0 ) * ( ( 18 + 125 ) + 5 ) );
			setLocalVarInt "ui_WeaponUnlocksHeight" ( 28 + localvarint( "ui_CamoHeight" ) + localvarint( "ui_AttachmentHeight" ) + localvarint( "ui_WeaponHeight" ) + 24 - 5 );
			setLocalVarInt "ui_CamoY" ( 28 );
			setLocalVarInt "ui_AttachmentY" ( localvarint( "ui_CamoY" ) + localvarint( "ui_CamoHeight" ) );
			setLocalVarInt "ui_WeaponY" ( localvarint( "ui_AttachmentY" ) + localvarint( "ui_AttachmentHeight" ) );
			if ( localvarint( "ui_autoopened" ) )
			{
				play "new_weapon_unlocks";
			}
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			if ( "page_unlocks_weapons" == "page_unlocks_titles" )
			{
				if ( ( unlockeditemcount( "icon" ) ) )
				{
					open "page_unlocks_emblems";
				}
				else
				{
					if ( ( unlockeditemcount( "perk" ) ) )
					{
						open "page_unlocks_perks";
					}
					else
					{
						if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
						{
							open "page_unlocks_weapons";
						}
						else
						{
							if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
							{
								open "page_unlocks_features";
							}
							else
							{
								open "page_summary";
							}
						}
					}
				}
			}
			if ( "page_unlocks_weapons" == "page_unlocks_emblems" )
			{
				if ( ( unlockeditemcount( "perk" ) ) )
				{
					open "page_unlocks_perks";
				}
				else
				{
					if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
					{
						open "page_unlocks_weapons";
					}
					else
					{
						if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
						{
							open "page_unlocks_features";
						}
						else
						{
							open "page_summary";
						}
					}
				}
			}
			if ( "page_unlocks_weapons" == "page_unlocks_perks" )
			{
				if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) )
				{
					open "page_unlocks_weapons";
				}
				else
				{
					if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
					{
						open "page_unlocks_features";
					}
					else
					{
						open "page_summary";
					}
				}
			}
			if ( "page_unlocks_weapons" == "page_unlocks_weapons" )
			{
				if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) )
				{
					open "page_unlocks_features";
				}
				else
				{
					open "page_summary";
				}
			}
			if ( "page_unlocks_weapons" == "page_unlocks_features" )
			{
				open "page_summary";
			}
			play "mouse_over";
		}
		onEsc
		{
			close self;
			close self;
		}
		itemDef
		{
			rect -1084 -430 3416 1920 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1084 -430 3416 1920 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -230 50 460 0 2 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
			exp rect h ( localvarint( "ui_WeaponUnlocksHeight" ) )
		}
		itemDef
		{
			rect -230 50 1708 480 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.4
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 460 0 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( localvarint( "ui_WeaponUnlocksHeight" ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.4
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -230 50 -1708 -480 2 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -294 -14 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 -14 460 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 -14 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 50 64 0 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( localvarint( "ui_WeaponUnlocksHeight" ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 230 50 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( localvarint( "ui_WeaponUnlocksHeight" ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( localvarint( "ui_WeaponUnlocksHeight" ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -294 50 64 64 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( localvarint( "ui_WeaponUnlocksHeight" ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -294 50 64 0 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( localvarint( "ui_WeaponUnlocksHeight" ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -230 50 460 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MPUI_WEAPON_UNLOCKS"
		}
		itemDef
		{
			rect 125 26 100 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textalignx -1
			textscale 0.375
			text "@PLATFORM_CONTINUE_CAPS"
			exp rect y ( localvarint( "ui_WeaponUnlocksHeight" ) - 24 )
		}
		itemDef
		{
			rect -230 50 460 66 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_CamoY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "camo" ) ) ) )
		}
		itemDef
		{
			rect -230 50 460 66 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_CamoY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "camo" ) ) ) )
		}
		itemDef
		{
			rect -230 50 460 18 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_CamoY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "camo" ) ) ) )
		}
		itemDef
		{
			rect -230 50 460 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_CamoY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "camo" ) ) ) )
			exp text ( "@MPUI_CAMO_PRE" )
		}
		itemDef
		{
			rect -77.6667 50 3 48 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient_line_separator"
			textscale 0.55
			exp rect y ( localvarint( "ui_CamoY" ) + 18 )
			visible when ( 1 < ( unlockeditemcount( "camo" ) ) )
		}
		itemDef
		{
			rect 74.6667 50 3 48 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient_line_separator"
			textscale 0.55
			exp rect y ( localvarint( "ui_CamoY" ) + 18 )
			visible when ( 2 < ( unlockeditemcount( "camo" ) ) )
		}
		itemDef
		{
			rect -227 50 149.333 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect y ( localvarint( "ui_CamoY" ) + 18 )
			visible when ( 0 < ( unlockeditemcount( "camo" ) ) )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , unlockeditem( "camo" , 0 , 1 ) , 5 ) )
		}
		itemDef
		{
			rect -227 50 149.333 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			textstyle 3
			exp rect y ( localvarint( "ui_CamoY" ) + 18 )
			visible when ( 0 < ( unlockeditemcount( "camo" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , unlockeditem( "camo" , 0 , 0 ) , 3 ) )
		}
		itemDef
		{
			rect -227 50 149.333 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textalignx 3
			textaligny 16
			textscale 0.35
			textstyle 3
			exp rect y ( localvarint( "ui_CamoY" ) + 18 + 18 )
			visible when ( 0 < ( unlockeditemcount( "camo" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , unlockeditem( "camo" , 0 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect -74.6667 50 149.333 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect y ( localvarint( "ui_CamoY" ) + 18 )
			visible when ( 1 < ( unlockeditemcount( "camo" ) ) )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , unlockeditem( "camo" , 1 , 1 ) , 5 ) )
		}
		itemDef
		{
			rect -74.6667 50 149.333 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			textstyle 3
			exp rect y ( localvarint( "ui_CamoY" ) + 18 )
			visible when ( 1 < ( unlockeditemcount( "camo" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , unlockeditem( "camo" , 1 , 0 ) , 3 ) )
		}
		itemDef
		{
			rect -74.6667 50 149.333 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textalignx 3
			textaligny 16
			textscale 0.35
			textstyle 3
			exp rect y ( localvarint( "ui_CamoY" ) + 18 + 18 )
			visible when ( 1 < ( unlockeditemcount( "camo" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , unlockeditem( "camo" , 1 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 77.6667 50 149.333 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect y ( localvarint( "ui_CamoY" ) + 18 )
			visible when ( 2 < ( unlockeditemcount( "camo" ) ) )
			exp material ( tablelookup( "mp/camoTable.csv" , 1 , unlockeditem( "camo" , 2 , 1 ) , 5 ) )
		}
		itemDef
		{
			rect 77.6667 50 149.333 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			textstyle 3
			exp rect y ( localvarint( "ui_CamoY" ) + 18 )
			visible when ( 2 < ( unlockeditemcount( "camo" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , unlockeditem( "camo" , 2 , 0 ) , 3 ) )
		}
		itemDef
		{
			rect 77.6667 50 149.333 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textalignx 3
			textaligny 16
			textscale 0.35
			textstyle 3
			exp rect y ( localvarint( "ui_CamoY" ) + 18 + 18 )
			visible when ( 2 < ( unlockeditemcount( "camo" ) ) )
			exp text ( "@" + tablelookup( "mp/camoTable.csv" , 1 , unlockeditem( "camo" , 2 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 77.6667 50 149.333 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalign 2
			textalignx -2
			textaligny 17
			textscale 0.4
			textstyle 3
			text "..."
			exp rect y ( localvarint( "ui_CamoY" ) + ( 18 + 48 ) - 18 )
			visible when ( ( unlockeditemcount( "camo" ) ) > 2 )
		}
		itemDef
		{
			rect -230 50 460 66 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_AttachmentY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "attachment" ) ) ) )
		}
		itemDef
		{
			rect -230 50 460 66 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_AttachmentY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "attachment" ) ) ) )
		}
		itemDef
		{
			rect -230 50 460 18 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_AttachmentY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "attachment" ) ) ) )
		}
		itemDef
		{
			rect -230 50 460 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_AttachmentY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "attachment" ) ) ) )
			exp text ( "@MPUI_ATTACHMENT_PRE" )
		}
		itemDef
		{
			rect -77.6667 50 3 48 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient_line_separator"
			textscale 0.55
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 )
			visible when ( 1 < ( unlockeditemcount( "attachment" ) ) )
		}
		itemDef
		{
			rect 74.6667 50 3 48 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient_line_separator"
			textscale 0.55
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 )
			visible when ( 2 < ( unlockeditemcount( "attachment" ) ) )
		}
		itemDef
		{
			rect -125.667 50 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 )
			visible when ( 0 < ( unlockeditemcount( "attachment" ) ) )
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , unlockeditem( "attachment" , 0 , 1 ) , 6 ) )
		}
		itemDef
		{
			rect -227 50 149.333 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			textstyle 3
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 )
			visible when ( 0 < ( unlockeditemcount( "attachment" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , unlockeditem( "attachment" , 0 , 0 ) , 3 ) )
		}
		itemDef
		{
			rect -227 50 149.333 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textalignx 3
			textaligny 16
			textscale 0.35
			textstyle 3
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 + 18 )
			visible when ( 0 < ( unlockeditemcount( "attachment" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , unlockeditem( "attachment" , 0 , 1 ) , 3 ) )
		}
		itemDef
		{
			rect 26.6667 50 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 )
			visible when ( 1 < ( unlockeditemcount( "attachment" ) ) )
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , unlockeditem( "attachment" , 1 , 1 ) , 6 ) )
		}
		itemDef
		{
			rect -74.6667 50 149.333 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			textstyle 3
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 )
			visible when ( 1 < ( unlockeditemcount( "attachment" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , unlockeditem( "attachment" , 1 , 0 ) , 3 ) )
		}
		itemDef
		{
			rect -74.6667 50 149.333 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textalignx 3
			textaligny 16
			textscale 0.35
			textstyle 3
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 + 18 )
			visible when ( 1 < ( unlockeditemcount( "attachment" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , unlockeditem( "attachment" , 1 , 1 ) , 3 ) )
		}
		itemDef
		{
			rect 179 50 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 )
			visible when ( 2 < ( unlockeditemcount( "attachment" ) ) )
			exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , unlockeditem( "attachment" , 2 , 1 ) , 6 ) )
		}
		itemDef
		{
			rect 77.6667 50 149.333 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			textstyle 3
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 )
			visible when ( 2 < ( unlockeditemcount( "attachment" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , unlockeditem( "attachment" , 2 , 0 ) , 3 ) )
		}
		itemDef
		{
			rect 77.6667 50 149.333 18 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textalignx 3
			textaligny 16
			textscale 0.35
			textstyle 3
			exp rect y ( localvarint( "ui_AttachmentY" ) + 18 + 18 )
			visible when ( 2 < ( unlockeditemcount( "attachment" ) ) )
			exp text ( "@" + tablelookup( "mp/attachmentTable.csv" , 4 , unlockeditem( "attachment" , 2 , 1 ) , 3 ) )
		}
		itemDef
		{
			rect 77.6667 50 149.333 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalign 2
			textalignx -2
			textaligny 17
			textscale 0.4
			textstyle 3
			text "..."
			exp rect y ( localvarint( "ui_AttachmentY" ) + ( 18 + 48 ) - 18 )
			visible when ( ( unlockeditemcount( "attachment" ) ) > 3 )
		}
		itemDef
		{
			rect -230 50 460 143 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_WeaponY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "weapon" ) ) ) )
		}
		itemDef
		{
			rect -230 50 460 143 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_WeaponY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "weapon" ) ) ) )
		}
		itemDef
		{
			rect -230 50 460 18 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_WeaponY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "weapon" ) ) ) )
		}
		itemDef
		{
			rect -230 50 460 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			textfont 9
			textalignx 3
			textaligny 16
			textscale 0.3333
			exp rect x ( 0 )
			exp rect y ( localvarint( "ui_WeaponY" ) )
			visible when ( ( "itemIndex" < ( unlockeditemcount( "weapon" ) ) ) )
			exp text ( "@MPUI_WEAPON_PRE" )
		}
		itemDef
		{
			rect -1.5 50 3 125 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.38
			background "gradient_line_separator"
			textscale 0.55
			exp rect y ( localvarint( "ui_WeaponY" ) + 18 )
			visible when ( 1 < ( unlockeditemcount( "weapon" ) ) )
		}
		itemDef
		{
			rect -201.5 50 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect y ( localvarint( "ui_WeaponY" ) + 18 )
			visible when ( 0 < ( unlockeditemcount( "weapon" ) ) )
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , unlockeditem( "weapon" , 0 ) , 6 ) )
		}
		itemDef
		{
			rect -227 50 225.5 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			textstyle 3
			exp rect y ( localvarint( "ui_WeaponY" ) + 18 )
			visible when ( 0 < ( unlockeditemcount( "weapon" ) ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , unlockeditem( "weapon" , 0 ) , 3 ) )
		}
		itemDef
		{
			rect -227 50 225.5 36 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textalignx 3
			textaligny 16
			textscale 0.35
			textstyle 3
			exp rect y ( localvarint( "ui_WeaponY" ) + ( 18 + 125 ) - 36 )
			visible when ( 0 < ( unlockeditemcount( "weapon" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , unlockeditem( "weapon" , 0 ) , 7 ) )
		}
		itemDef
		{
			rect 27 50 200 100 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect y ( localvarint( "ui_WeaponY" ) + 18 )
			visible when ( 1 < ( unlockeditemcount( "weapon" ) ) )
			exp material ( tablelookup( "mp/statsTable.csv" , 4 , unlockeditem( "weapon" , 1 ) , 6 ) )
		}
		itemDef
		{
			rect 1.5 50 225.5 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalignx 3
			textaligny 16
			textscale 0.3333
			textstyle 3
			exp rect y ( localvarint( "ui_WeaponY" ) + 18 )
			visible when ( 1 < ( unlockeditemcount( "weapon" ) ) )
			exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , unlockeditem( "weapon" , 1 ) , 3 ) )
		}
		itemDef
		{
			rect 1.5 50 225.5 36 2 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.8
			textfont 3
			textalignx 3
			textaligny 16
			textscale 0.35
			textstyle 3
			exp rect y ( localvarint( "ui_WeaponY" ) + ( 18 + 125 ) - 36 )
			visible when ( 1 < ( unlockeditemcount( "weapon" ) ) )
			exp text ( "@" + tablelookup( "mp/statstable.csv" , 4 , unlockeditem( "weapon" , 1 ) , 7 ) )
		}
		itemDef
		{
			rect 1.5 50 225.5 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 1
			textalign 2
			textalignx -2
			textaligny 17
			textscale 0.4
			textstyle 3
			text "..."
			exp rect y ( localvarint( "ui_WeaponY" ) + ( 18 + 125 ) - 18 )
			visible when ( ( unlockeditemcount( "weapon" ) ) > 2 )
		}
	}
	menuDef
	{
		name "page_progress"
		rect 0 50 460 337 2 1
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect x ( - ( 460 / 2 ) )
		execKey "BUTTON_RTRIG"
		{
			if ( "page_progress" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_progress" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_progress" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "BUTTON_RSHLDR"
		{
			if ( "page_progress" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_progress" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_progress" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "DPAD_RIGHT"
		{
			if ( "page_progress" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_progress" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_progress" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "APAD_RIGHT"
		{
			if ( "page_progress" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_progress" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_progress" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "BUTTON_LTRIG"
		{
			if ( "page_progress" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_progress" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_progress" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "BUTTON_LSHLDR"
		{
			if ( "page_progress" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_progress" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_progress" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "DPAD_LEFT"
		{
			if ( "page_progress" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_progress" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_progress" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "APAD_LEFT"
		{
			if ( "page_progress" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_progress" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_progress" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "BUTTON_A"
		{
			close self;
			close "popup_summary";
		}
		onOpen
		{
			setLocalVarString "ui_currentPage" ( "page_progress" );
			if ( "page_progress" == "page_summary" )
			{
				setLocalVarInt "ui_leftArrow" ( 0 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_progress" == "page_progress" || "page_progress" == "page_highlights" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_progress" == "page_scoreboard" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				setLocalVarInt "ui_rightArrow" ( 0 );
			}
		}
		onRequestClose
		{
		}
		onEsc
		{
			close self;
			close "popup_summary";
		}
		itemDef
		{
			rect 0 50 460 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MPUI_PROGRESS"
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( 28 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( 28 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 50 208 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( 460 / 2 ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 28 ) + 10 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 460 / 2 ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 28 ) + 10 ) - 2 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( 460 / 2 ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( 28 ) + 10 ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 50 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( 460 / 2 ) - ( ( 208 ) / 2 ) )
			exp rect y ( ( ( ( 28 ) + 10 ) ) + 28 )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 50 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 460 / 2 ) - ( ( 208 ) / 2 ) ) + 158 )
			exp rect y ( ( ( ( 28 ) + 10 ) ) )
			visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect -1280 160 4096 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect 10 160 440 10.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
		}
		itemDef
		{
			rect 10 160 440 10.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar"
			textscale 0.55
		}
		itemDef
		{
			rect 10 160 440 10.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar_solid"
			textscale 0.55
			exp rect x ( 10 - ( 660 / 1.5 ) * ( 1 - ( ( min( ( getplayerdata( "experience" ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) / ( ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 7 ) ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) , 0.9999 ) ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
		}
		itemDef
		{
			rect 10 160 440 10.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_xpfill"
			textscale 0.55
			exp rect x ( 10 - ( 660 / 1.5 ) * ( 1 - ( ( min( ( getplayerdata( "experience" ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) / ( ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 7 ) ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) , 0.9999 ) ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
		}
		itemDef
		{
			rect 10 160 440 10.6667 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
		}
		itemDef
		{
			rect 10 139 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 30 139 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 14 ) )
		}
		itemDef
		{
			rect 414 139 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , ( levelforexperience( getplayerdata( "experience" ) ) + 1 ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 434 139 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			visible when ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) )
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , ( levelforexperience( getplayerdata( "experience" ) ) + 1 ) , 14 ) )
		}
		itemDef
		{
			rect 10 139 440 20 2 1
			decoration
			visible 1
			forecolor 1 1 0.498039 1
			textfont 10
			textalign 1
			textalignx 2
			textaligny 18
			textscale 0.3333
			textstyle 3
			visible when ( levelforexperience( getplayerdata( "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) )
			exp text ( locstring( "@MPUI_X_SLASH_Y_XP" , int( ( getplayerdata( "experience" ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) , int( ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 7 ) ) - ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 2 ) ) ) ) )
		}
		itemDef
		{
			rect 5 188 225 18 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textalign 2
			textalignx -10
			textaligny 18
			textscale 0.375
			textstyle 3
			visible when ( dvarstring( "player_summary_score" ) != "" )
			exp text ( "@MPUI_XP_PRE" )
		}
		itemDef
		{
			rect 5 206 225 18 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textalign 2
			textalignx -10
			textaligny 18
			textscale 0.375
			textstyle 3
			visible when ( dvarstring( "player_summary_challenge" ) != "" )
			exp text ( "@MPUI_CHALLENGES_PRE" )
		}
		itemDef
		{
			rect 5 224 225 18 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textalign 2
			textalignx -10
			textaligny 18
			textscale 0.375
			textstyle 3
			visible when ( dvarstring( "player_summary_match" ) != "" )
			exp text ( "@MPUI_MATCHBONUS_PRE" )
		}
		itemDef
		{
			rect 5 242 225 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textalign 2
			textalignx -10
			textaligny 18
			textscale 0.375
			textstyle 3
			visible when ( dvarstring( "player_summary_xp" ) != "" )
			exp text ( "@MPUI_TOTAL_EARNED_PRE" )
		}
		itemDef
		{
			rect 230 188 225 18 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 10
			textalignx 10
			textaligny 18
			textscale 0.3333
			textstyle 3
			visible when ( dvarstring( "player_summary_score" ) != "" )
			exp text ( int( dvarstring( "player_summary_score" ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) + " XP" )
		}
		itemDef
		{
			rect 230 206 225 18 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 10
			textalignx 10
			textaligny 18
			textscale 0.3333
			textstyle 3
			visible when ( dvarstring( "player_summary_challenge" ) != "" )
			exp text ( int( dvarstring( "player_summary_challenge" ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) + " XP" )
		}
		itemDef
		{
			rect 230 224 225 18 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 10
			textalignx 10
			textaligny 18
			textscale 0.3333
			textstyle 3
			visible when ( dvarstring( "player_summary_match" ) != "" )
			exp text ( int( dvarstring( "player_summary_match" ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) + " XP" )
		}
		itemDef
		{
			rect 230 242 225 18 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 10
			textalignx 10
			textaligny 18
			textscale 0.3333
			textstyle 3
			visible when ( dvarstring( "player_summary_xp" ) != "" )
			exp text ( int( dvarstring( "player_summary_xp" ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) + " XP" )
		}
	}
	menuDef
	{
		name "page_highlights"
		rect 0 50 460 337 2 1
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect x ( - ( 460 / 2 ) )
		execKey "BUTTON_RTRIG"
		{
			if ( "page_highlights" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "BUTTON_RSHLDR"
		{
			if ( "page_highlights" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "DPAD_RIGHT"
		{
			if ( "page_highlights" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "APAD_RIGHT"
		{
			if ( "page_highlights" == "page_summary" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_progress";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights" == "page_progress" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights" == "page_highlights" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "BUTTON_LTRIG"
		{
			if ( "page_highlights" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "BUTTON_LSHLDR"
		{
			if ( "page_highlights" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "DPAD_LEFT"
		{
			if ( "page_highlights" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "APAD_LEFT"
		{
			if ( "page_highlights" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "BUTTON_A"
		{
			close self;
			close "popup_summary";
		}
		onOpen
		{
			setLocalVarString "ui_currentPage" ( "page_highlights" );
			if ( "page_highlights" == "page_summary" )
			{
				setLocalVarInt "ui_leftArrow" ( 0 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_highlights" == "page_progress" || "page_highlights" == "page_highlights" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_highlights" == "page_scoreboard" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				setLocalVarInt "ui_rightArrow" ( 0 );
			}
		}
		onRequestClose
		{
		}
		onEsc
		{
			close self;
			close "popup_summary";
		}
		itemDef
		{
			rect 0 50 460 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MPUI_ACCOLADES"
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( ( 28 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( ( 28 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 8 93 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 0 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 94 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 0 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 0 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 93 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 0 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 0 , "value" ) )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 0 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 0 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 0 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 0 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 0 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 0 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 0 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 0 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 0 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 108 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 1 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 109 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 1 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 1 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 108 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 1 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 1 , "value" ) )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 1 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 1 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 1 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 1 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 1 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 1 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 1 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 1 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 1 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 123 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 2 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 124 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 2 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 2 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 123 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 2 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 2 , "value" ) )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 2 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 2 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 2 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 2 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 2 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 2 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 2 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 2 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 2 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 138 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 3 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 139 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 3 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 3 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 138 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 3 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 3 , "value" ) )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 3 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 3 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 3 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 3 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 3 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 3 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 3 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 3 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 3 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 153 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 4 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 154 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 4 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 4 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 153 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 4 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 4 , "value" ) )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 4 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 4 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 4 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 4 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 4 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 4 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 4 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 4 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 4 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 168 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 5 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 169 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 5 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 5 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 168 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 5 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 5 , "value" ) )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 5 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 5 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 5 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 5 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 5 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 5 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 5 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 5 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 5 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 183 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 6 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 184 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 6 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 6 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 183 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 6 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 6 , "value" ) )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 6 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 6 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 6 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 6 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 6 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 6 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 6 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 6 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 6 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 198 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 7 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 199 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 7 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 7 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 198 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 7 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 7 , "value" ) )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 7 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 7 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 7 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 7 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 7 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 7 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 7 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 7 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 7 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 213 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 8 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 214 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 8 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 8 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 213 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 8 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 8 , "value" ) )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 8 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 8 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 8 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 8 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 8 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 8 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 8 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 8 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 8 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 228 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 9 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 229 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 9 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 9 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 228 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 9 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 9 , "value" ) )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 9 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 9 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 9 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 9 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 9 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 9 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 9 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 9 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 9 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 243 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 10 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 244 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 10 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 10 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 243 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 10 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 10 , "value" ) )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 10 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 10 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 10 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 10 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 10 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 10 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 10 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 10 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 10 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 258 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 11 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 259 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 11 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 11 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 258 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 11 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 11 , "value" ) )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 11 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 11 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 11 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 11 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 11 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 11 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 11 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 11 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 11 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 273 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 12 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 274 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 12 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 12 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 273 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 12 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 12 , "value" ) )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 12 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 12 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 12 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 12 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 12 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 12 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 12 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 12 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 12 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 288 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 13 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 289 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 13 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 13 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 288 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 13 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 13 , "value" ) )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 13 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 13 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 13 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 13 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 13 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 13 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 13 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 13 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 13 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 303 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 14 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 304 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 14 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 14 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 303 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 14 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 14 , "value" ) )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 14 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 14 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 14 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 14 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 14 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 14 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 14 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 14 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 14 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 318 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 15 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 319 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 15 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 15 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 318 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 15 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 15 , "value" ) )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 15 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 15 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 15 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 15 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 15 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 15 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 15 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 15 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 15 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 333 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 16 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 334 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 16 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 16 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 333 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 16 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 16 , "value" ) )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 16 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 16 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 16 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 16 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 16 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 16 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 16 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 16 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 16 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 348 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 17 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 349 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 17 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 17 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 348 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 17 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 17 , "value" ) )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 17 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 17 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 17 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 17 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 17 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 17 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 17 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 17 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 17 , "value" ) / 100 ) ) ) * 100 ) )
		}
	}
	menuDef
	{
		name "page_scoreboard"
		rect 0 50 460 337 2 1
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect x ( - ( 460 / 2 ) )
		execKey "BUTTON_LTRIG"
		{
			if ( "page_scoreboard" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "BUTTON_LSHLDR"
		{
			if ( "page_scoreboard" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "DPAD_LEFT"
		{
			if ( "page_scoreboard" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "APAD_LEFT"
		{
			if ( "page_scoreboard" == "page_progress" )
			{
				close self;
				open "page_summary";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard" == "page_highlights" )
			{
				close self;
				open "page_progress";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard" == "page_scoreboard" )
			{
				close self;
				open "page_highlights";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
		}
		execKey "BUTTON_A"
		{
			close self;
			close "popup_summary";
		}
		onOpen
		{
			setLocalVarString "ui_currentPage" ( "page_scoreboard" );
			if ( "page_scoreboard" == "page_summary" )
			{
				setLocalVarInt "ui_leftArrow" ( 0 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_scoreboard" == "page_progress" || "page_scoreboard" == "page_highlights" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_scoreboard" == "page_scoreboard" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				setLocalVarInt "ui_rightArrow" ( 0 );
			}
		}
		onRequestClose
		{
		}
		onEsc
		{
			close self;
			close "popup_summary";
		}
		itemDef
		{
			rect 0 50 460 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MENU_SCOREBOARD"
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( ( 28 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( ( 28 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 5 78 270 15 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 10
			textscale 0.35
			textstyle 3
			text "@MPUI_SCORE"
		}
		itemDef
		{
			rect 5 78 330 15 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 10
			textscale 0.35
			textstyle 3
			text "@MPUI_KILLS"
		}
		itemDef
		{
			rect 5 78 390 15 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 10
			textscale 0.35
			textstyle 3
			text "@MPUI_ASSISTS"
		}
		itemDef
		{
			rect 5 78 447 15 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 10
			textscale 0.35
			textstyle 3
			text "@MENU_DEATHS"
		}
		itemDef
		{
			rect 5 93 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "faction" ) , 16 ) )
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 93 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 93 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 93 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "score" ) )
		}
		itemDef
		{
			rect 5 93 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 93 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 93 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 108 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "faction" ) , 16 ) )
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 108 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 108 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 108 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "score" ) )
		}
		itemDef
		{
			rect 5 108 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 108 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 108 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 123 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "faction" ) , 16 ) )
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 123 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 123 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 123 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "score" ) )
		}
		itemDef
		{
			rect 5 123 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 123 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 123 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 138 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "faction" ) , 16 ) )
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 138 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 138 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 138 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "score" ) )
		}
		itemDef
		{
			rect 5 138 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 138 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 138 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 153 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "faction" ) , 16 ) )
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 153 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 153 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 153 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "score" ) )
		}
		itemDef
		{
			rect 5 153 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 153 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 153 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 168 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "faction" ) , 16 ) )
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 168 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 168 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 168 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "score" ) )
		}
		itemDef
		{
			rect 5 168 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 168 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 168 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 183 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "faction" ) , 16 ) )
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 183 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 183 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 183 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "score" ) )
		}
		itemDef
		{
			rect 5 183 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 183 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 183 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 198 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "faction" ) , 16 ) )
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 198 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 198 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 198 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "score" ) )
		}
		itemDef
		{
			rect 5 198 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 198 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 198 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 213 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "faction" ) , 16 ) )
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 213 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 213 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 213 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "score" ) )
		}
		itemDef
		{
			rect 5 213 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 213 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 213 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 228 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "faction" ) , 16 ) )
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 228 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 228 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 228 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "score" ) )
		}
		itemDef
		{
			rect 5 228 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 228 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 228 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 243 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "faction" ) , 16 ) )
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 243 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 243 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 243 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "score" ) )
		}
		itemDef
		{
			rect 5 243 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 243 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 243 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 258 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "faction" ) , 16 ) )
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 258 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 258 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 258 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "score" ) )
		}
		itemDef
		{
			rect 5 258 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 258 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 258 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 273 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "faction" ) , 16 ) )
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 273 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 273 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 273 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "score" ) )
		}
		itemDef
		{
			rect 5 273 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 273 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 273 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 288 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "faction" ) , 16 ) )
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 288 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 288 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 288 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "score" ) )
		}
		itemDef
		{
			rect 5 288 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 288 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 288 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 303 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "faction" ) , 16 ) )
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 303 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 303 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 303 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "score" ) )
		}
		itemDef
		{
			rect 5 303 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 303 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 303 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 318 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "faction" ) , 16 ) )
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 318 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 318 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 318 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "score" ) )
		}
		itemDef
		{
			rect 5 318 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 318 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 318 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 333 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "faction" ) , 16 ) )
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 333 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 333 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 333 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "score" ) )
		}
		itemDef
		{
			rect 5 333 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 333 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 333 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 348 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "faction" ) , 16 ) )
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 348 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 348 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 348 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "score" ) )
		}
		itemDef
		{
			rect 5 348 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 348 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 348 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "deaths" ) )
		}
	}
	menuDef
	{
		name "page_summary_splitscreen"
		rect 0 50 460 337 2 1
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect x ( - ( 460 / 2 ) )
		execKey "BUTTON_RTRIG"
		{
			if ( "page_summary_splitscreen" == "page_summary_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary_splitscreen" == "page_highlights_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "BUTTON_RSHLDR"
		{
			if ( "page_summary_splitscreen" == "page_summary_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary_splitscreen" == "page_highlights_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "DPAD_RIGHT"
		{
			if ( "page_summary_splitscreen" == "page_summary_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary_splitscreen" == "page_highlights_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "APAD_RIGHT"
		{
			if ( "page_summary_splitscreen" == "page_summary_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_summary_splitscreen" == "page_highlights_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "BUTTON_A"
		{
			close self;
			close "popup_summary_splitscreen";
		}
		onOpen
		{
			setLocalVarString "ui_currentPage" ( "page_summary_splitscreen" );
			if ( "page_summary_splitscreen" == "page_summary_splitscreen" )
			{
				setLocalVarInt "ui_leftArrow" ( 0 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_summary_splitscreen" == "page_highlights_splitscreen" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_summary_splitscreen" == "page_scoreboard_splitscreen" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				setLocalVarInt "ui_rightArrow" ( 0 );
			}
			if ( localvarint( "ui_autoopened" ) )
			{
				play "mp_ingame_summary";
				setLocalVarInt "popup_summary_time_start" ( milliseconds( ) );
				setLocalVarInt "ui_autoopened" ( 0 );
			}
			setLocalVarString "ui_navbutton_a" ( "@PLATFORM_CLOSE_CAPS" );
		}
		onEsc
		{
			close self;
			close "popup_summary_splitscreen";
		}
		itemDef
		{
			rect 0 50 460 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MPUI_SUMMARY"
		}
		itemDef
		{
			rect 0 50 460 285.5 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( 28 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 50 460 285.5 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( 28 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 50 450 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 0 ) ) )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 0 ) ) - 2 )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 0 ) ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 0 50 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 0 ) ) ) + 28 )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 0 ) )
		}
		itemDef
		{
			rect 0 50 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 + 5 ) ) ) + 158 )
			exp rect y ( ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 0 ) ) ) )
			visible when ( ( 0 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
		}
		itemDef
		{
			rect 218 78 232 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textalignx -2
			textaligny 2
			textscale 0.35
			textstyle 3
			visible when ( ( 0 < splitscreenplayercount( ) ) )
			exp text ( locstring( "@MPUI_SCORE_PRE_N" , getplayerdatasplitscreen( 0 , "round" , "score" ) ) )
		}
		itemDef
		{
			rect 218 83 18 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( getplayerdatasplitscreen( 0 , "round" , "awardCount" ) && ( 0 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 0 , "round" , "awards" , 0 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 218 78 232 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 8
			textalignx 20
			textaligny 2
			textscale 0.35
			textstyle 3
			visible when ( getplayerdatasplitscreen( 0 , "round" , "awardCount" ) && ( 0 < splitscreenplayercount( ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 0 , "round" , "awards" , 0 , "award" ) , 3 ) )
		}
		itemDef
		{
			rect 218 102 232 24 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 8
			textaligny -2
			textscale 0.35
			textstyle 3
			visible when ( getplayerdatasplitscreen( 0 , "round" , "awardCount" ) && ( 0 < splitscreenplayercount( ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 0 , "round" , "awards" , 0 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect -1280 141 4096 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
			visible when ( ( 0 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 141 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
			visible when ( ( 0 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 141 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar"
			textscale 0.55
			visible when ( ( 0 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 141 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar_solid"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) + 2 ) - 446.5 * ( 1 - ( min( ( getplayerdatasplitscreen( 0 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , 2 ) ) / ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , 2 ) ) , 0.9999 ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
			visible when ( ( 0 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 141 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_xpfill"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) + 2 ) - 446.5 * ( 1 - ( min( ( getplayerdatasplitscreen( 0 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , 2 ) ) / ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , 2 ) ) , 0.9999 ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
			visible when ( ( 0 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 141 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
			visible when ( ( 0 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 123 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 0 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , getplayerdatasplitscreen( 0 , "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 27 123 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			visible when ( ( 0 < splitscreenplayercount( ) ) )
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , 14 ) )
		}
		itemDef
		{
			rect 417.5 123 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 0 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , ( levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) + 1 ) , getplayerdatasplitscreen( 0 , "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 437.5 123 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			visible when ( levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 0 < splitscreenplayercount( ) ) )
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , ( levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) + 1 ) , 14 ) )
		}
		itemDef
		{
			rect 7 123 446.5 20 2 1
			decoration
			visible 1
			forecolor 1 1 0.498039 1
			textfont 10
			textalign 1
			textaligny 18
			textscale 0.3333
			textstyle 3
			visible when ( levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 0 < splitscreenplayercount( ) ) )
			exp text ( locstring( "@MPUI_X_SLASH_Y_XP" , int( ( getplayerdatasplitscreen( 0 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , 2 ) ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) , int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 0 , "experience" ) ) , 2 ) ) ) )
		}
		itemDef
		{
			rect 0 50 450 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 1 ) ) )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 1 ) ) - 2 )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 1 ) , 2 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 1 ) ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 1 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 1 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 1 ) , 5 ) )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 0 50 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 1 ) ) ) + 28 )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 1 ) )
		}
		itemDef
		{
			rect 0 50 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 + 5 ) ) ) + 158 )
			exp rect y ( ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 1 ) ) ) )
			visible when ( ( 1 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 1 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 1 ) , 1 ) )
		}
		itemDef
		{
			rect 218 149.333 232 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textalignx -2
			textaligny 2
			textscale 0.35
			textstyle 3
			visible when ( ( 1 < splitscreenplayercount( ) ) )
			exp text ( locstring( "@MPUI_SCORE_PRE_N" , getplayerdatasplitscreen( 1 , "round" , "score" ) ) )
		}
		itemDef
		{
			rect 218 154.333 18 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( getplayerdatasplitscreen( 1 , "round" , "awardCount" ) && ( 1 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 1 , "round" , "awards" , 0 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 218 149.333 232 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 8
			textalignx 20
			textaligny 2
			textscale 0.35
			textstyle 3
			visible when ( getplayerdatasplitscreen( 1 , "round" , "awardCount" ) && ( 1 < splitscreenplayercount( ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 1 , "round" , "awards" , 0 , "award" ) , 3 ) )
		}
		itemDef
		{
			rect 218 173.333 232 24 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 8
			textaligny -2
			textscale 0.35
			textstyle 3
			visible when ( getplayerdatasplitscreen( 1 , "round" , "awardCount" ) && ( 1 < splitscreenplayercount( ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 1 , "round" , "awards" , 0 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect -1280 212.333 4096 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
			visible when ( ( 1 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 212.333 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
			visible when ( ( 1 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 212.333 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar"
			textscale 0.55
			visible when ( ( 1 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 212.333 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar_solid"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) + 2 ) - 446.5 * ( 1 - ( min( ( getplayerdatasplitscreen( 1 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , 2 ) ) / ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , 2 ) ) , 0.9999 ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
			visible when ( ( 1 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 212.333 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_xpfill"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) + 2 ) - 446.5 * ( 1 - ( min( ( getplayerdatasplitscreen( 1 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , 2 ) ) / ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , 2 ) ) , 0.9999 ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
			visible when ( ( 1 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 212.333 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
			visible when ( ( 1 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 194.333 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 1 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , getplayerdatasplitscreen( 1 , "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 27 194.333 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			visible when ( ( 1 < splitscreenplayercount( ) ) )
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , 14 ) )
		}
		itemDef
		{
			rect 417.5 194.333 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 1 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , ( levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) + 1 ) , getplayerdatasplitscreen( 1 , "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 437.5 194.333 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			visible when ( levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 1 < splitscreenplayercount( ) ) )
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , ( levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) + 1 ) , 14 ) )
		}
		itemDef
		{
			rect 7 194.333 446.5 20 2 1
			decoration
			visible 1
			forecolor 1 1 0.498039 1
			textfont 10
			textalign 1
			textaligny 18
			textscale 0.3333
			textstyle 3
			visible when ( levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 1 < splitscreenplayercount( ) ) )
			exp text ( locstring( "@MPUI_X_SLASH_Y_XP" , int( ( getplayerdatasplitscreen( 1 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , 2 ) ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) , int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 1 , "experience" ) ) , 2 ) ) ) )
		}
		itemDef
		{
			rect 0 50 450 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 2 ) ) )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 2 ) ) - 2 )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 2 ) , 2 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 2 ) ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 2 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 2 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 2 ) , 5 ) )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 0 50 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 2 ) ) ) + 28 )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 2 ) )
		}
		itemDef
		{
			rect 0 50 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 + 5 ) ) ) + 158 )
			exp rect y ( ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 2 ) ) ) )
			visible when ( ( 2 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 2 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 2 ) , 1 ) )
		}
		itemDef
		{
			rect 218 220.916 232 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textalignx -2
			textaligny 2
			textscale 0.35
			textstyle 3
			visible when ( ( 2 < splitscreenplayercount( ) ) )
			exp text ( locstring( "@MPUI_SCORE_PRE_N" , getplayerdatasplitscreen( 2 , "round" , "score" ) ) )
		}
		itemDef
		{
			rect 218 225.916 18 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( getplayerdatasplitscreen( 2 , "round" , "awardCount" ) && ( 2 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 2 , "round" , "awards" , 0 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 218 220.916 232 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 8
			textalignx 20
			textaligny 2
			textscale 0.35
			textstyle 3
			visible when ( getplayerdatasplitscreen( 2 , "round" , "awardCount" ) && ( 2 < splitscreenplayercount( ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 2 , "round" , "awards" , 0 , "award" ) , 3 ) )
		}
		itemDef
		{
			rect 218 244.916 232 24 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 8
			textaligny -2
			textscale 0.35
			textstyle 3
			visible when ( getplayerdatasplitscreen( 2 , "round" , "awardCount" ) && ( 2 < splitscreenplayercount( ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 2 , "round" , "awards" , 0 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect -1280 283.666 4096 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
			visible when ( ( 2 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 283.666 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
			visible when ( ( 2 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 283.666 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar"
			textscale 0.55
			visible when ( ( 2 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 283.666 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar_solid"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) + 2 ) - 446.5 * ( 1 - ( min( ( getplayerdatasplitscreen( 2 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , 2 ) ) / ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , 2 ) ) , 0.9999 ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
			visible when ( ( 2 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 283.666 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_xpfill"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) + 2 ) - 446.5 * ( 1 - ( min( ( getplayerdatasplitscreen( 2 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , 2 ) ) / ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , 2 ) ) , 0.9999 ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
			visible when ( ( 2 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 283.666 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
			visible when ( ( 2 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 265.666 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 2 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , getplayerdatasplitscreen( 2 , "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 27 265.666 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			visible when ( ( 2 < splitscreenplayercount( ) ) )
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , 14 ) )
		}
		itemDef
		{
			rect 417.5 265.666 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 2 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , ( levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) + 1 ) , getplayerdatasplitscreen( 2 , "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 437.5 265.666 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			visible when ( levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 2 < splitscreenplayercount( ) ) )
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , ( levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) + 1 ) , 14 ) )
		}
		itemDef
		{
			rect 7 265.666 446.5 20 2 1
			decoration
			visible 1
			forecolor 1 1 0.498039 1
			textfont 10
			textalign 1
			textaligny 18
			textscale 0.3333
			textstyle 3
			visible when ( levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 2 < splitscreenplayercount( ) ) )
			exp text ( locstring( "@MPUI_X_SLASH_Y_XP" , int( ( getplayerdatasplitscreen( 2 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , 2 ) ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) , int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 2 , "experience" ) ) , 2 ) ) ) )
		}
		itemDef
		{
			rect 0 50 450 48 2 1
			style 3
			border 1
			bordersize 1
			decoration
			visible 1
			forecolor 1 1 1 1
			bordercolor 0 0 0 0.75
			background "cardtitle_248x48"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 3 ) ) )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 3 ) ) - 2 )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 3 ) , 2 ) )
		}
		itemDef
		{
			rect 0 50 160 32 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 3 ) ) - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 3 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 3 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 3 ) , 5 ) )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 0 50 160 18 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( ( ( 0 + 5 ) ) )
			exp rect y ( ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 3 ) ) ) + 28 )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 1 , 3 ) )
		}
		itemDef
		{
			rect 0 50 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( ( 0 + 5 ) ) ) + 158 )
			exp rect y ( ( ( ( ( 28 ) ) + ( ( 71.458 + 0 ) * 3 ) ) ) )
			visible when ( ( 3 < splitscreenplayercount( ) ) && ( getplayercardinfo( 0 , 1 , 3 ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 3 ) , 1 ) )
		}
		itemDef
		{
			rect 218 291.999 232 24 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textalignx -2
			textaligny 2
			textscale 0.35
			textstyle 3
			visible when ( ( 3 < splitscreenplayercount( ) ) )
			exp text ( locstring( "@MPUI_SCORE_PRE_N" , getplayerdatasplitscreen( 3 , "round" , "score" ) ) )
		}
		itemDef
		{
			rect 218 296.999 18 18 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( getplayerdatasplitscreen( 3 , "round" , "awardCount" ) && ( 3 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 3 , "round" , "awards" , 0 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 218 291.999 232 24 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 8
			textalignx 20
			textaligny 2
			textscale 0.35
			textstyle 3
			visible when ( getplayerdatasplitscreen( 3 , "round" , "awardCount" ) && ( 3 < splitscreenplayercount( ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 3 , "round" , "awards" , 0 , "award" ) , 3 ) )
		}
		itemDef
		{
			rect 218 315.999 232 24 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 8
			textaligny -2
			textscale 0.35
			textstyle 3
			visible when ( getplayerdatasplitscreen( 3 , "round" , "awardCount" ) && ( 3 < splitscreenplayercount( ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getplayerdatasplitscreen( 3 , "round" , "awards" , 0 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect -1280 354.999 4096 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
			visible when ( ( 3 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 354.999 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
			visible when ( ( 3 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 354.999 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar"
			textscale 0.55
			visible when ( ( 3 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 354.999 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "summary_xpbar_solid"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) + 2 ) - 446.5 * ( 1 - ( min( ( getplayerdatasplitscreen( 3 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , 2 ) ) / ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , 2 ) ) , 0.9999 ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
			visible when ( ( 3 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 354.999 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "xpbar_xpfill"
			textscale 0.55
			exp rect x ( ( ( 0 + 5 ) + 2 ) - 446.5 * ( 1 - ( min( ( getplayerdatasplitscreen( 3 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , 2 ) ) / ( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , 2 ) ) , 0.9999 ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) ) )
			visible when ( ( 3 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 354.999 446.5 8 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.5
			background "summary_xpbar_shadow"
			textscale 0.55
			visible when ( ( 3 < splitscreenplayercount( ) ) )
		}
		itemDef
		{
			rect 7 336.999 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 3 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , getplayerdatasplitscreen( 3 , "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 27 336.999 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			visible when ( ( 3 < splitscreenplayercount( ) ) )
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , 14 ) )
		}
		itemDef
		{
			rect 417.5 336.999 20 20 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 3 < splitscreenplayercount( ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , ( levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) + 1 ) , getplayerdatasplitscreen( 3 , "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 437.5 336.999 16 20 2 1
			decoration
			visible 1
			forecolor 0.701961 0.701961 0.729412 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			visible when ( levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 3 < splitscreenplayercount( ) ) )
			exp text ( tablelookup( "mp/ranktable.csv" , 0 , ( levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) + 1 ) , 14 ) )
		}
		itemDef
		{
			rect 7 336.999 446.5 20 2 1
			decoration
			visible 1
			forecolor 1 1 0.498039 1
			textfont 10
			textalign 1
			textaligny 18
			textscale 0.3333
			textstyle 3
			visible when ( levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) < int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) && ( 3 < splitscreenplayercount( ) ) )
			exp text ( locstring( "@MPUI_X_SLASH_Y_XP" , int( ( getplayerdatasplitscreen( 3 , "experience" ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , 2 ) ) * min( max( ( milliseconds( ) - localvarint( "popup_summary_time_start" ) ) / 500 , 0 ) , 1 ) ) , int( tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , 7 ) - tablelookup( "mp/rankTable.csv" , 0 , levelforexperience( getplayerdatasplitscreen( 3 , "experience" ) ) , 2 ) ) ) )
		}
	}
	menuDef
	{
		name "page_highlights_splitscreen"
		rect 0 50 460 337 2 1
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect x ( - ( 460 / 2 ) )
		execKey "BUTTON_RTRIG"
		{
			if ( "page_highlights_splitscreen" == "page_summary_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights_splitscreen" == "page_highlights_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "BUTTON_RSHLDR"
		{
			if ( "page_highlights_splitscreen" == "page_summary_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights_splitscreen" == "page_highlights_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "DPAD_RIGHT"
		{
			if ( "page_highlights_splitscreen" == "page_summary_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights_splitscreen" == "page_highlights_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "APAD_RIGHT"
		{
			if ( "page_highlights_splitscreen" == "page_summary_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
			if ( "page_highlights_splitscreen" == "page_highlights_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_scoreboard_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( 1 );
				}
			}
		}
		execKey "BUTTON_LTRIG"
		{
			if ( "page_highlights_splitscreen" == "page_highlights_splitscreen" )
			{
				close self;
				open "page_summary_splitscreen";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights_splitscreen" == "page_scoreboard_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( - 1 ) );
				}
			}
		}
		execKey "BUTTON_LSHLDR"
		{
			if ( "page_highlights_splitscreen" == "page_highlights_splitscreen" )
			{
				close self;
				open "page_summary_splitscreen";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights_splitscreen" == "page_scoreboard_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( - 1 ) );
				}
			}
		}
		execKey "DPAD_LEFT"
		{
			if ( "page_highlights_splitscreen" == "page_highlights_splitscreen" )
			{
				close self;
				open "page_summary_splitscreen";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights_splitscreen" == "page_scoreboard_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( - 1 ) );
				}
			}
		}
		execKey "APAD_LEFT"
		{
			if ( "page_highlights_splitscreen" == "page_highlights_splitscreen" )
			{
				close self;
				open "page_summary_splitscreen";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_highlights_splitscreen" == "page_scoreboard_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( - 1 ) );
				}
			}
		}
		execKey "BUTTON_A"
		{
			close self;
			close "popup_summary_splitscreen";
		}
		onOpen
		{
			setLocalVarString "ui_currentPage" ( "page_highlights_splitscreen" );
			if ( "page_highlights_splitscreen" == "page_summary_splitscreen" )
			{
				setLocalVarInt "ui_leftArrow" ( 0 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_highlights_splitscreen" == "page_highlights_splitscreen" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_highlights_splitscreen" == "page_scoreboard_splitscreen" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				setLocalVarInt "ui_rightArrow" ( 0 );
			}
		}
		onEsc
		{
			close self;
			close "popup_summary_splitscreen";
		}
		itemDef
		{
			rect 0 50 460 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MPUI_ACCOLADES"
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( ( 28 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( ( 28 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 8 93 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 0 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 94 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 0 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 0 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 93 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 0 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 0 , "value" ) )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 0 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 0 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 0 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 0 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 0 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 0 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 0 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 93 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 0 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 0 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 0 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 108 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 1 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 109 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 1 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 1 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 108 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 1 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 1 , "value" ) )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 1 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 1 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 1 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 1 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 1 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 1 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 1 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 108 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 1 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 1 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 1 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 123 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 2 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 124 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 2 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 2 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 123 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 2 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 2 , "value" ) )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 2 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 2 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 2 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 2 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 2 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 2 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 2 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 123 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 2 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 2 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 2 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 138 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 3 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 139 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 3 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 3 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 138 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 3 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 3 , "value" ) )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 3 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 3 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 3 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 3 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 3 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 3 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 3 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 138 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 3 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 3 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 3 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 153 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 4 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 154 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 4 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 4 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 153 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 4 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 4 , "value" ) )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 4 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 4 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 4 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 4 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 4 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 4 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 4 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 153 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 4 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 4 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 4 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 168 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 5 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 169 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 5 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 5 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 168 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 5 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 5 , "value" ) )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 5 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 5 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 5 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 5 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 5 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 5 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 5 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 168 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 5 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 5 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 5 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 183 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 6 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 184 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 6 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 6 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 183 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 6 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 6 , "value" ) )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 6 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 6 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 6 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 6 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 6 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 6 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 6 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 183 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 6 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 6 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 6 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 198 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 7 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 199 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 7 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 7 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 198 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 7 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 7 , "value" ) )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 7 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 7 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 7 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 7 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 7 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 7 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 7 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 198 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 7 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 7 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 7 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 213 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 8 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 214 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 8 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 8 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 213 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 8 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 8 , "value" ) )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 8 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 8 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 8 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 8 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 8 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 8 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 8 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 213 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 8 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 8 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 8 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 228 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 9 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 229 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 9 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 9 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 228 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 9 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 9 , "value" ) )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 9 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 9 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 9 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 9 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 9 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 9 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 9 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 228 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 9 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 9 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 9 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 243 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 10 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 244 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 10 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 10 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 243 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 10 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 10 , "value" ) )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 10 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 10 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 10 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 10 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 10 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 10 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 10 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 243 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 10 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 10 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 10 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 258 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 11 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 259 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 11 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 11 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 258 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 11 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 11 , "value" ) )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 11 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 11 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 11 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 11 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 11 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 11 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 11 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 258 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 11 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 11 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 11 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 273 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 12 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 274 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 12 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 12 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 273 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 12 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 12 , "value" ) )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 12 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 12 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 12 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 12 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 12 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 12 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 12 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 273 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 12 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 12 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 12 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 288 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 13 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 289 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 13 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 13 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 288 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 13 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 13 , "value" ) )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 13 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 13 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 13 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 13 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 13 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 13 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 13 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 288 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 13 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 13 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 13 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 303 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 14 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 304 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 14 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 14 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 303 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 14 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 14 , "value" ) )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 14 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 14 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 14 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 14 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 14 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 14 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 14 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 303 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 14 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 14 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 14 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 318 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 15 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 319 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 15 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 15 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 318 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 15 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 15 , "value" ) )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 15 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 15 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 15 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 15 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 15 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 15 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 15 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 318 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 15 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 15 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 15 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 333 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 16 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 334 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 16 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 16 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 333 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 16 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 16 , "value" ) )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 16 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 16 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 16 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 16 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 16 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 16 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 16 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 333 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 16 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 16 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 16 , "value" ) / 100 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 8 348 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "highlights" , 17 , "clientId" ) , "xuid" ) )
		}
		itemDef
		{
			rect 200 349 13 13 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( 17 < getclientmatchdata( "highlightCount" ) ) )
			exp material ( tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 17 , "award" ) , 2 ) )
		}
		itemDef
		{
			rect 214 348 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "highlightCount" ) ) )
			exp text ( "@" + tablelookup( "mp/awardTable.csv" , 1 , getclientmatchdata( "highlights" , 17 , "award" ) , 4 ) )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( getclientmatchdata( "highlights" , 17 , "value" ) )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( getclientmatchdata( "highlights" , 17 , "value" ) / 36 ) + " yds" )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( secondsascountdown( getclientmatchdata( "highlights" , 17 , "value" ) / 1000 ) + " min" )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) - int( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 17 , "value" ) >> 16 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 17 , "value" ) >> 16 ) - int( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) / ( getclientmatchdata( "highlights" , 17 , "value" ) >> 16 ) ) ) * 100 ) )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( ( getclientmatchdata( "highlights" , 17 , "value" ) & 65535 ) + "/" + ( getclientmatchdata( "highlights" , 17 , "value" ) >> 16 ) )
		}
		itemDef
		{
			rect 2 348 450 15 2 1
			decoration
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			exp text ( int( ( getclientmatchdata( "highlights" , 17 , "value" ) / 100 ) ) + "." + int( ( ( getclientmatchdata( "highlights" , 17 , "value" ) / 100 ) - int( ( getclientmatchdata( "highlights" , 17 , "value" ) / 100 ) ) ) * 100 ) )
		}
	}
	menuDef
	{
		name "page_scoreboard_splitscreen"
		rect 0 50 460 337 2 1
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		exp rect x ( - ( 460 / 2 ) )
		execKey "BUTTON_LTRIG"
		{
			if ( "page_scoreboard_splitscreen" == "page_highlights_splitscreen" )
			{
				close self;
				open "page_summary_splitscreen";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard_splitscreen" == "page_scoreboard_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( - 1 ) );
				}
			}
		}
		execKey "BUTTON_LSHLDR"
		{
			if ( "page_scoreboard_splitscreen" == "page_highlights_splitscreen" )
			{
				close self;
				open "page_summary_splitscreen";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard_splitscreen" == "page_scoreboard_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( - 1 ) );
				}
			}
		}
		execKey "DPAD_LEFT"
		{
			if ( "page_scoreboard_splitscreen" == "page_highlights_splitscreen" )
			{
				close self;
				open "page_summary_splitscreen";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard_splitscreen" == "page_scoreboard_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( - 1 ) );
				}
			}
		}
		execKey "APAD_LEFT"
		{
			if ( "page_scoreboard_splitscreen" == "page_highlights_splitscreen" )
			{
				close self;
				open "page_summary_splitscreen";
				play "mouse_over";
				setLocalVarInt "ui_switchTime" ( milliseconds( ) );
				setLocalVarInt "ui_switchDir" ( - 1 ) );
			}
			if ( "page_scoreboard_splitscreen" == "page_scoreboard_splitscreen" )
			{
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					close self;
					open "page_highlights_splitscreen";
					play "mouse_over";
					setLocalVarInt "ui_switchTime" ( milliseconds( ) );
					setLocalVarInt "ui_switchDir" ( - 1 ) );
				}
			}
		}
		execKey "BUTTON_A"
		{
			close self;
			close "popup_summary_splitscreen";
		}
		onOpen
		{
			setLocalVarString "ui_currentPage" ( "page_scoreboard_splitscreen" );
			if ( "page_scoreboard_splitscreen" == "page_summary_splitscreen" )
			{
				setLocalVarInt "ui_leftArrow" ( 0 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_scoreboard_splitscreen" == "page_highlights_splitscreen" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				if ( ( getclientmatchdatadef( ) != "" ) )
				{
					setLocalVarInt "ui_rightArrow" ( 1 );
				}
				else
				{
					setLocalVarInt "ui_rightArrow" ( 0 );
				}
			}
			if ( "page_scoreboard_splitscreen" == "page_scoreboard_splitscreen" )
			{
				setLocalVarInt "ui_leftArrow" ( 1 );
				setLocalVarInt "ui_rightArrow" ( 0 );
			}
		}
		onEsc
		{
			close self;
			close "popup_summary_splitscreen";
		}
		itemDef
		{
			rect 0 50 460 28 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 5
			textscale 0.5833
			text "@MENU_SCOREBOARD"
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( ( 28 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 50 460 285 2 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.125
			background "gradient_vertical_rect"
			textscale 0.55
			exp rect x ( 0 )
			exp rect y ( ( ( 28 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 5 78 270 15 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 10
			textscale 0.35
			textstyle 3
			text "@MPUI_SCORE"
		}
		itemDef
		{
			rect 5 78 330 15 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 10
			textscale 0.35
			textstyle 3
			text "@MPUI_KILLS"
		}
		itemDef
		{
			rect 5 78 390 15 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 10
			textscale 0.35
			textstyle 3
			text "@MPUI_ASSISTS"
		}
		itemDef
		{
			rect 5 78 447 15 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 10
			textscale 0.35
			textstyle 3
			text "@MENU_DEATHS"
		}
		itemDef
		{
			rect 5 93 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "faction" ) , 16 ) )
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 93 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 93 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 93 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "score" ) )
		}
		itemDef
		{
			rect 5 93 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 93 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 93 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 0 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 0 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 108 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "faction" ) , 16 ) )
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 108 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 108 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 108 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "score" ) )
		}
		itemDef
		{
			rect 5 108 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 108 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 108 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 1 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 1 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 123 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "faction" ) , 16 ) )
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 123 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 123 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 123 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "score" ) )
		}
		itemDef
		{
			rect 5 123 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 123 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 123 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 2 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 2 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 138 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "faction" ) , 16 ) )
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 138 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 138 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 138 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "score" ) )
		}
		itemDef
		{
			rect 5 138 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 138 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 138 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 3 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 3 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 153 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "faction" ) , 16 ) )
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 153 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 153 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 153 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "score" ) )
		}
		itemDef
		{
			rect 5 153 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 153 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 153 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 4 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 4 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 168 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "faction" ) , 16 ) )
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 168 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 168 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 168 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "score" ) )
		}
		itemDef
		{
			rect 5 168 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 168 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 168 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 5 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 5 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 183 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "faction" ) , 16 ) )
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 183 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 183 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 183 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "score" ) )
		}
		itemDef
		{
			rect 5 183 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 183 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 183 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 6 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 6 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 198 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "faction" ) , 16 ) )
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 198 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 198 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 198 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "score" ) )
		}
		itemDef
		{
			rect 5 198 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 198 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 198 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 7 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 7 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 213 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "faction" ) , 16 ) )
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 213 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 213 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 213 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "score" ) )
		}
		itemDef
		{
			rect 5 213 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 213 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 213 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 8 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 8 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 228 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "faction" ) , 16 ) )
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 228 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 228 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 228 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "score" ) )
		}
		itemDef
		{
			rect 5 228 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 228 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 228 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 9 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 9 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 243 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "faction" ) , 16 ) )
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 243 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 243 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 243 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "score" ) )
		}
		itemDef
		{
			rect 5 243 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 243 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 243 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 10 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 10 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 258 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "faction" ) , 16 ) )
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 258 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 258 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 258 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "score" ) )
		}
		itemDef
		{
			rect 5 258 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 258 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 258 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 11 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 11 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 273 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "faction" ) , 16 ) )
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 273 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 273 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 273 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "score" ) )
		}
		itemDef
		{
			rect 5 273 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 273 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 273 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 12 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 12 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 288 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "faction" ) , 16 ) )
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 288 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 288 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 288 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "score" ) )
		}
		itemDef
		{
			rect 5 288 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 288 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 288 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 13 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 13 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 303 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "faction" ) , 16 ) )
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 303 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 303 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 303 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "score" ) )
		}
		itemDef
		{
			rect 5 303 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 303 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 303 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 14 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 14 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 318 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "faction" ) , 16 ) )
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 318 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 318 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 318 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "score" ) )
		}
		itemDef
		{
			rect 5 318 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 318 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 318 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 15 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 15 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 333 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "faction" ) , 16 ) )
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 333 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 333 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 333 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "score" ) )
		}
		itemDef
		{
			rect 5 333 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 333 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 333 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 16 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 16 ) , "deaths" ) )
		}
		itemDef
		{
			rect 5 348 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.33
			background "white"
			textscale 0.55
			exp forecolor r ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "faction" ) , 14 ) )
			exp forecolor g ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "faction" ) , 15 ) )
			exp forecolor b ( tablelookup( "mp/factionTable.csv" , 0 , getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "faction" ) , 16 ) )
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) != "neutral" )
		}
		itemDef
		{
			rect 5 348 450 15 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 0 0.33
			background "white"
			textscale 0.55
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) && localvarstring( "ui_scoreboardType" ) == "neutral" )
		}
		itemDef
		{
			rect 8 348 450 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "xuid" ) )
		}
		itemDef
		{
			rect 5 348 270 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "score" ) )
		}
		itemDef
		{
			rect 5 348 330 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "kills" ) )
		}
		itemDef
		{
			rect 5 348 390 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "assists" ) )
		}
		itemDef
		{
			rect 5 348 447 15 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 10
			textscale 0.35
			visible when ( ( 17 < getclientmatchdata( "scoreboardPlayerCount" ) ) )
			exp text ( getclientmatchdata( "players" , getclientmatchdata( "scoreboards" , localvarstring( "ui_scoreboardType" ) , 17 ) , "deaths" ) )
		}
	}
	menuDef
	{
		name "playerdataread"
		rect 0 0 0 0 0 0
		decoration
		forecolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "oldClassIndex" ( localvarint( "classIndex" ) );
			setLocalVarInt "classIndex" ( 0 );
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Equipment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Secondary offhand " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) , 5 ) != ( "perk1" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 1 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) , 5 ) != ( "perk2" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 2 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) , 5 ) != ( "perk3" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 3 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) , 5 ) != "perk4" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Deathstreak " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "localVarString" ( "dataValue" ) );
			}
			setLocalVarInt "classIndex" ( 1 );
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Equipment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Secondary offhand " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) , 5 ) != ( "perk1" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 1 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) , 5 ) != ( "perk2" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 2 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) , 5 ) != ( "perk3" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 3 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) , 5 ) != "perk4" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Deathstreak " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "localVarString" ( "dataValue" ) );
			}
			setLocalVarInt "classIndex" ( 2 );
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Equipment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Secondary offhand " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) , 5 ) != ( "perk1" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 1 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) , 5 ) != ( "perk2" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 2 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) , 5 ) != ( "perk3" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 3 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) , 5 ) != "perk4" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Deathstreak " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "localVarString" ( "dataValue" ) );
			}
			setLocalVarInt "classIndex" ( 3 );
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Equipment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Secondary offhand " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) , 5 ) != ( "perk1" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 1 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) , 5 ) != ( "perk2" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 2 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) , 5 ) != ( "perk3" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 3 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) , 5 ) != "perk4" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Deathstreak " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "localVarString" ( "dataValue" ) );
			}
			setLocalVarInt "classIndex" ( 4 );
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Equipment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Secondary offhand " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) , 5 ) != ( "perk1" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 1 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) , 5 ) != ( "perk2" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 2 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) , 5 ) != ( "perk3" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 3 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) , 5 ) != "perk4" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Deathstreak " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "localVarString" ( "dataValue" ) );
			}
			setLocalVarInt "classIndex" ( 5 );
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Equipment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Secondary offhand " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) , 5 ) != ( "perk1" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 1 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) , 5 ) != ( "perk2" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 2 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) , 5 ) != ( "perk3" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 3 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) , 5 ) != "perk4" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Deathstreak " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "localVarString" ( "dataValue" ) );
			}
			setLocalVarInt "classIndex" ( 6 );
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Equipment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Secondary offhand " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) , 5 ) != ( "perk1" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 1 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) , 5 ) != ( "perk2" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 2 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) , 5 ) != ( "perk3" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 3 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) , 5 ) != "perk4" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Deathstreak " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "localVarString" ( "dataValue" ) );
			}
			setLocalVarInt "classIndex" ( 7 );
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Equipment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Secondary offhand " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) , 5 ) != ( "perk1" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 1 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) , 5 ) != ( "perk2" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 2 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) , 5 ) != ( "perk3" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 3 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) , 5 ) != "perk4" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Deathstreak " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "localVarString" ( "dataValue" ) );
			}
			setLocalVarInt "classIndex" ( 8 );
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Equipment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Secondary offhand " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) , 5 ) != ( "perk1" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 1 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) , 5 ) != ( "perk2" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 2 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) , 5 ) != ( "perk3" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 3 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) , 5 ) != "perk4" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Deathstreak " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "localVarString" ( "dataValue" ) );
			}
			setLocalVarInt "classIndex" ( 9 );
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Primary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Weapon " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Attachment2 " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) ) )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Camo " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) + " " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( "none" );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Equipment " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 0 , "localVarString" ( "dataValue" ) );
			}
			if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) == "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Secondary offhand " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "specialGrenade" , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) , 5 ) != ( "perk1" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 1 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 1 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) , 5 ) != ( "perk2" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 2 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 2 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) , 5 ) != ( "perk3" ) || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Perk " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_bling" )
				{
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 , "none" ) setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "none" );
				}
				if ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) == "specialty_onemanarmy" )
				{
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "weapon" , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Attachment2" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 , "localVarString" ( "dataValue" ) );
					setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadout" + "Secondary" + "Camo" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
					setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "weaponSetups" , 1 , "camo" , "localVarString" ( "dataValue" ) );
				}
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk" + 3 , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 3 , "localVarString" ( "dataValue" ) );
			}
			if ( !isitemunlocked( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) ) || tablelookup( "mp/perkTable.csv" , 1 , getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) , 5 ) != "perk4" || getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) == "specialty_null" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Deathstreak " + getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setLocalVarString "dataValue" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , ( localvarint( "classIndex" ) % 5 ) + 6 ) );
				setPlayerData( "customClasses" , "localVarInt" ( "classIndex" ) , "perks" , 4 , "localVarString" ( "dataValue" ) );
			}
			setLocalVarInt "classIndex" ( localvarint( "oldClassIndex" ) );
			if ( !isitemunlocked( getplayerdata( "killstreaks" , 0 ) ) && getplayerdata( "killstreaks" , 0 ) != "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Killstreak " + getplayerdata( "killstreaks" , 0 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setPlayerData( "killstreaks" , 0 , "none" );
			}
			setPlayerData( "killstreakUnlocked" , "uav" , "true" );
			if ( !isitemunlocked( getplayerdata( "killstreaks" , 1 ) ) && getplayerdata( "killstreaks" , 1 ) != "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Killstreak " + getplayerdata( "killstreaks" , 1 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setPlayerData( "killstreaks" , 1 , "none" );
			}
			setPlayerData( "killstreakUnlocked" , "airdrop" , "true" );
			if ( !isitemunlocked( getplayerdata( "killstreaks" , 2 ) ) && getplayerdata( "killstreaks" , 2 ) != "none" )
			{
				setLocalVarString "temp" ( debugprint( "Stats" , "Killstreak " + getplayerdata( "killstreaks" , 2 ) + " locked for class " + localvarint( "classIndex" ) + "; resetting" ) );
				setPlayerData( "killstreaks" , 2 , "none" );
			}
			setPlayerData( "killstreakUnlocked" , "predator_missile" , "true" );
			setLocalVarInt "ui_tempVar" ( getplayerdata( "prestige" ) + 1 );
			setPlayerData( "challengeState" , "ch_prestige" , "localVarInt" ( "ui_tempVar" ) );
			setLocalVarInt "ui_tempVar" ( getplayerdata( "prestige" ) );
			setPlayerData( "challengeProgress" , "ch_prestige" , "localVarInt" ( "ui_tempVar" ) );
			if ( getplayerdata( "prestige" ) == 10 )
			{
				setPlayerData( "challengeState" , "ch_prestige_10" , 2 ) setPlayerData( "challengeProgress" , "ch_prestige_10" , 1 );
			}
			close self;
		}
	}
	menuDef
	{
		name "readingsavedevice"
		rect -150 -44 300 44 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -524 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -524 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -44 300 44 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -44 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -44 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -44 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 1 * 20 ) )
		}
		itemDef
		{
			rect -150 -44 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -44 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -44 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 1 * 20 ) )
		}
		itemDef
		{
			rect -214 -108 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -108 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -108 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -44 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 1 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -44 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -44 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -44 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -44 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 1 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -36 300 40 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			type 1
			textfont 9
			textalign 5
			textscale 0.33
			visible when ( 1 )
			exp text ( "@PLATFORM_READING_SAVE_DEVICE" )
		}
		itemDef
		{
			rect -150 -36 300 40 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			type 1
			textfont 9
			textalign 5
			textaligny 10
			textscale 0.33
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.25 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.5 )
			exp text ( "." )
		}
		itemDef
		{
			rect -150 -36 300 40 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			type 1
			textfont 9
			textalign 5
			textaligny 10
			textscale 0.33
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.5 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.75 )
			exp text ( ".." )
		}
		itemDef
		{
			rect -150 -36 300 40 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			type 1
			textfont 9
			textalign 5
			textaligny 10
			textscale 0.33
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.75 )
			exp text ( "..." )
		}
	}
	menuDef
	{
		name "onlineupdate"
		rect -150 -44 300 44 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		fadeCycle 1
		fadeClamp 1
		fadeAmount 0.1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -524 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -524 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -44 300 44 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -44 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -44 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -44 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 1 * 20 ) )
		}
		itemDef
		{
			rect -150 -44 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -44 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -44 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 1 * 20 ) )
		}
		itemDef
		{
			rect -214 -108 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -108 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -108 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -44 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 1 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -44 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -44 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -44 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -44 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 1 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -36 300 40 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			type 1
			textalign 5
			textscale 0.375
			visible when ( 1 )
			exp text ( dvarstring( "popupText" ) )
		}
		itemDef
		{
			rect -150 -36 300 40 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			type 1
			textalign 5
			textaligny 10
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.25 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.5 )
			exp text ( "." )
		}
		itemDef
		{
			rect -150 -36 300 40 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			type 1
			textalign 5
			textaligny 10
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.5 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.75 )
			exp text ( ".." )
		}
		itemDef
		{
			rect -150 -36 300 40 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			type 1
			textalign 5
			textaligny 10
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.75 )
			exp text ( "..." )
		}
	}
}